2 USING: kernel alien.syntax math ;
12 { "mode_t" "st_mode" }
13 { "nlink_t" "st_nlink" }
19 { "blksize_t" "st_blksize" }
20 { "blkcnt_t" "st_blocks" }
21 { "timespec" "st_atim" }
22 { "timespec" "st_mtim" }
23 { "timespec" "st_ctim" }
25 { "ulong" "unused5" } ;
27 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29 FUNCTION: int __xstat ( int ver, char* pathname, stat* buf ) ;
30 FUNCTION: int __lxstat ( int ver, char* pathname, stat* buf ) ;
32 : stat ( pathname buf -- int ) 3 -rot __xstat ;
33 : lstat ( pathname buf -- int ) 3 -rot __lxstat ;