1 USING: kernel alien.c-types alien.syntax math classes.struct
17 { st_blksize blksize_t }
18 { st_blocks blkcnt64_t }
19 { st_atimespec timespec }
20 { st_mtimespec timespec }
21 { st_ctimespec timespec }
22 { st_ino ulonglong } ;
24 FUNCTION: int __xstat64 ( int ver, c-string pathname, stat* buf )
25 FUNCTION: int __lxstat64 ( int ver, c-string pathname, stat* buf )
26 FUNCTION: int __fxstat64 ( int ver, int fd, stat* buf )
28 : stat-func ( pathname buf -- int ) [ 1 ] 2dip __xstat64 ;
29 : lstat ( pathname buf -- int ) [ 1 ] 2dip __lxstat64 ;
30 : fstat ( fd buf -- int ) [ 1 ] 2dip __fxstat64 ;