Merge branch 'master' of git://factorcode.org/git/factor

db4
Doug Coleman 2007-04-14 06:24:27 -05:00
commit 9dcabddb52
4 changed files with 25 additions and 5 deletions

View File

@ -22,5 +22,8 @@ C-STRUCT: stat
{ "uint32_t" "st_gen" }
{ { "uint32_t" 2 } "st_qspare" } ;
FUNCTION: int stat ( char* pathname, stat* buf ) ;
FUNCTION: int lstat ( char* pathname, stat* buf ) ;
FUNCTION: int __stat30 ( char* pathname, stat* buf ) ;
FUNCTION: int __lstat30 ( char* pathname, stat* buf ) ;
: stat __stat30 ;
: lstat __lstat30 ;

View File

@ -0,0 +1,6 @@
USING: alien.syntax ;
IN: unix.types
! NetBSD 4.0
TYPEDEF: __uint64_t ino_t

View File

@ -0,0 +1,6 @@
USING: alien.syntax ;
IN: unix.types
! NetBSD 4.0
TYPEDEF: __uint32_t ino_t

View File

@ -1,4 +1,4 @@
USING: alien.syntax ;
USING: alien.syntax combinators layouts vocabs.loader ;
IN: unix.types
! NetBSD 4.0
@ -18,7 +18,6 @@ TYPEDEF: ulonglong u_int64_t
TYPEDEF: __uint32_t __dev_t
TYPEDEF: __uint32_t dev_t
TYPEDEF: __uint32_t ino_t
TYPEDEF: __uint32_t mode_t
TYPEDEF: __uint32_t nlink_t
TYPEDEF: __uint32_t uid_t
@ -26,6 +25,12 @@ TYPEDEF: __uint32_t gid_t
TYPEDEF: __int64_t off_t
TYPEDEF: __int64_t blkcnt_t
TYPEDEF: __uint32_t blksize_t
TYPEDEF: longlong ssize_t
TYPEDEF: long ssize_t
TYPEDEF: int pid_t
TYPEDEF: int time_t
cell-bits {
{ 32 [ "unix.types.netbsd.32" require ] }
{ 64 [ "unix.types.netbsd.64" require ] }
} case