1 // extern int stat(char *path, struct stat *buf);
2 function psi\stat(string $path, array &$buf = NULL) : int {
3 let path = strval($path);
4 let buf = calloc(1, psi\SIZEOF_STRUCT_STAT);
6 set $buf = to_array(*buf,
19 to_array(st_atimespec,
28 to_array(st_mtimespec,
37 to_array(st_ctimespec,
42 to_array(st_birthtimespec,