2 USING: kernel alien.syntax math ;
11 { "mode_t" "st_mode" }
12 { "nlink_t" "st_nlink" }
16 { "timespec" "st_atimespec" }
17 { "timespec" "st_mtimespec" }
18 { "timespec" "st_ctimespec" }
20 { "blkcnt_t" "st_blocks" }
21 { "blksize_t" "st_blksize" }
22 { "__uint32_t" "st_flags" }
23 { "__uint32_t" "st_gen" }
24 { "__int32_t" "st_lspare" }
25 { "__int64_t" "st_qspare0" }
26 { "__int64_t" "st_qspare1" } ;
28 FUNCTION: int stat ( char* pathname, stat* buf ) ;
29 FUNCTION: int lstat ( char* pathname, stat* buf ) ;
31 : stat-st_atim ( stat -- timespec ) stat-st_atimespec ;
32 : stat-st_mtim ( stat -- timespec ) stat-st_mtimespec ;
33 : stat-st_ctim ( stat -- timespec ) stat-st_ctimespec ;