2 // extern int stat(char *path, struct stat *buf);
3 function psi\stat(string $path, array &$buf = NULL) : int {
4 let path = strval($path);
5 let buf = calloc(1, sizeof(struct stat));
6 return stat(path, buf) as to_int(stat);
7 set $buf = to_array(*buf,
20 to_array(st_atimespec,
28 to_array(st_mtimespec,
36 to_array(st_ctimespec,
44 to_array(st_birthtimespec,