remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git] / basis / unix / stat / freebsd / 64 / 64.factor
blob73ba67670119afe22970e16924affa25373eef88
1 USING: kernel alien.syntax math ;
2 IN: unix.stat
4 ! FreeBSD 8.0-CURRENT
5 ! untested
7 C-STRUCT: stat
8     { "__dev_t"    "st_dev" }
9     { "ino_t"      "st_ino" }
10     { "mode_t"     "st_mode" }
11     { "nlink_t"    "st_nlink" }
12     { "uid_t"      "st_uid" }
13     { "gid_t"      "st_gid" }
14     { "__dev_t"    "st_rdev" }
15     { "timespec"   "st_atimespec" }
16     { "timespec"   "st_mtimespec" }
17     { "timespec"   "st_ctimespec" }
18     { "off_t"      "st_size" }
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 ) ;