fix stat on openbsd32
parent
6d36f738eb
commit
e539246131
|
@ -12,9 +12,9 @@ C-STRUCT: stat
|
|||
{ "gid_t" "st_gid" }
|
||||
{ "dev_t" "st_rdev" }
|
||||
{ "int32_t" "st_lspare0" }
|
||||
{ "timespec*" "st_atimespec" }
|
||||
{ "timespec*" "st_mtimespec" }
|
||||
{ "timespec*" "st_ctimespec" }
|
||||
{ "timespec*" "st_atim" }
|
||||
{ "timespec*" "st_mtim" }
|
||||
{ "timespec*" "st_ctim" }
|
||||
{ "off_t" "st_size" }
|
||||
{ "int64_t" "st_blocks" }
|
||||
{ "u_int32_t" "st_blksize" }
|
||||
|
@ -25,5 +25,5 @@ C-STRUCT: stat
|
|||
{ "int64_t" "st_qspare1" }
|
||||
{ "int64_t" "st_qspare2" } ;
|
||||
|
||||
! FUNCTION: int stat ( char* pathname, stat* buf ) ;
|
||||
FUNCTION: int stat ( char* pathname, stat* buf ) ;
|
||||
FUNCTION: int lstat ( char* pathname, stat* buf ) ;
|
||||
|
|
|
@ -25,5 +25,5 @@ C-STRUCT: stat
|
|||
{ "int64_t" "st_qspare1" }
|
||||
{ "int64_t" "st_qspare2" } ;
|
||||
|
||||
! FUNCTION: int stat ( char* pathname, stat* buf ) ;
|
||||
FUNCTION: int stat ( char* pathname, stat* buf ) ;
|
||||
FUNCTION: int lstat ( char* pathname, stat* buf ) ;
|
||||
|
|
|
@ -63,7 +63,8 @@ FUNCTION: int mkdir ( char* path, mode_t mode ) ;
|
|||
{ "linux" [ "unix.stat.linux" require ] }
|
||||
{ "macosx" [ "unix.stat.macosx" require ] }
|
||||
{ "freebsd" [ "unix.stat.freebsd" require ] }
|
||||
[ drop ]
|
||||
{ "netbsd" [ "unix.stat.netbsd" require ] }
|
||||
{ "openbsd" [ "unix.stat.openbsd" require ] }
|
||||
}
|
||||
case
|
||||
>>
|
||||
|
|
|
@ -12,6 +12,5 @@ os
|
|||
{ "freebsd" [ "unix.types.freebsd" require ] }
|
||||
{ "openbsd" [ "unix.types.openbsd" require ] }
|
||||
{ "netbsd" [ "unix.types.netbsd" require ] }
|
||||
[ drop ]
|
||||
}
|
||||
case
|
||||
|
|
Loading…
Reference in New Issue