remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git] / basis / unix / stat / openbsd / openbsd.factor
blobf76d4c6e18e2331fa50b19e62bd4fa674bbbaf8b
1 USING: kernel alien.syntax math ;
2 IN: unix.stat
4 ! OpenBSD 4.2
6 C-STRUCT: stat
7     { "dev_t" "st_dev" }
8     { "ino_t" "st_ino" }
9     { "mode_t" "st_mode" }
10     { "nlink_t" "st_nlink" }
11     { "uid_t" "st_uid" }
12     { "gid_t" "st_gid" }
13     { "dev_t" "st_rdev" }
14     { "int32_t" "st_lspare0" }
15     { "timespec" "st_atimespec" }
16     { "timespec" "st_mtimespec" }
17     { "timespec" "st_ctimespec" }
18     { "off_t" "st_size" }
19     { "int64_t" "st_blocks" }
20     { "u_int32_t" "st_blksize" }
21     { "u_int32_t" "st_flags" }
22     { "u_int32_t" "st_gen" }
23     { "int32_t" "st_lspare1" }
24     { "timespec" "st_birthtimespec" }
25     { { "int64_t" 2 } "st_qspare" } ;
27 FUNCTION: int stat  ( char* pathname, stat* buf ) ;
28 FUNCTION: int lstat ( char* pathname, stat* buf ) ;