1 USING: kernel alien.syntax math unix math.bitwise
2 alien.c-types alien sequences grouping accessors combinators ;
10 { "mode_t" "st_mode" }
11 { "nlink_t" "st_nlink" }
12 { "ino64_t" "st_ino" }
16 { "timespec" "st_atimespec" }
17 { "timespec" "st_mtimespec" }
18 { "timespec" "st_ctimespec" }
19 { "timespec" "st_birthtimespec" }
21 { "blkcnt_t" "st_blocks" }
22 { "blksize_t" "st_blksize" }
23 { "__uint32_t" "st_flags" }
24 { "__uint32_t" "st_gen" }
25 { "__int32_t" "st_lspare" }
26 { "__int64_t" "st_qspare0" }
27 { "__int64_t" "st_qspare1" } ;
29 FUNCTION: int stat64 ( char* pathname, stat* buf ) ;
30 FUNCTION: int lstat64 ( char* pathname, stat* buf ) ;
32 : stat ( path buf -- n ) stat64 ;
33 : lstat ( path buf -- n ) lstat64 ;