1 USING: kernel alien.syntax math ;
10 { "mode_t" "st_mode" }
11 { "nlink_t" "st_nlink" }
14 { "__dev_t" "st_rdev" }
15 { "timespec" "st_atimespec" }
16 { "timespec" "st_mtimespec" }
17 { "timespec" "st_ctimespec" }
19 { "blkcnt_t" "st_blocks" }
20 { "blksize_t" "st_blksize" }
21 { "fflags_t" "st_flags" }
22 { "__uint32_t" "st_gen" }
23 { "__int32_t" "st_lspare" }
24 { "timespec" "st_birthtimespec" }
25 ! not sure about the padding here.
26 { "__uint32_t" "pad0" }
27 { "__uint32_t" "pad1" } ;
29 FUNCTION: int stat ( char* pathname, stat* buf ) ;
30 FUNCTION: int lstat ( char* pathname, stat* buf ) ;