1 USING: kernel alien.syntax math ;
10 { "nlink_t" "st_nlink" }
14 { "timespec" "st_atim" }
15 { "timespec" "st_mtim" }
16 { "timespec" "st_ctim" }
18 { "blkcnt_t" "st_blocks" }
19 { "blksize_t" "st_blksize" }
20 { "uint32_t" "st_flags" }
21 { "uint32_t" "st_gen" }
22 { "uint32_t" "st_spare0" }
23 { "timespec" "st_birthtim" } ;
25 FUNCTION: int __stat13 ( char* pathname, stat* buf ) ;
26 FUNCTION: int __lstat13 ( char* pathname, stat* buf ) ;
28 : stat ( pathname buf -- n ) __stat13 ; inline
29 : lstat ( pathname buf -- n ) __lstat13 ; inline