1 USING: kernel alien.c-types alien.syntax math classes.struct
15 { st_atimespec timespec }
16 { st_mtimespec timespec }
17 { st_ctimespec timespec }
18 { st_birthtimespec timespec }
20 { st_blocks blkcnt_t }
21 { st_blksize blksize_t }
24 { st_qspare uint32_t[2] } ;
26 FUNCTION: int __stat30 ( c-string pathname, stat* buf ) ;
27 FUNCTION: int __lstat30 ( c-string pathname, stat* buf ) ;
29 : stat ( pathname buf -- n ) __stat30 ;
30 : lstat ( pathname buf -- n ) __lstat30 ;