diff options
author | Robert de Bath <rdebath@poboxes.com> | 1996-11-03 22:33:35 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:33:35 +0200 |
commit | c218c617b5be443b7968308506969ad2b726d73c (patch) | |
tree | 0051f396af56133d24fcf2ab757fabc78c1a09bf /libc/include/sys/stat.h | |
parent | 0936b9aeab611665645a4e6bafaded7ca76dd189 (diff) | |
parent | 0d2fbe9b1bd284ce2cad55be17e8f2c896031a25 (diff) | |
download | dev86-c218c617b5be443b7968308506969ad2b726d73c.tar.gz |
Import Dev86src-0.0.8.tar.gzv0.0.8
Diffstat (limited to 'libc/include/sys/stat.h')
-rw-r--r-- | libc/include/sys/stat.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h index b8c5ee0..d21f986 100644 --- a/libc/include/sys/stat.h +++ b/libc/include/sys/stat.h @@ -5,6 +5,38 @@ #include <sys/types.h> #include <features.h> +#ifdef __AS386_32__ +/* This is for Linux-386, ho hum, I wish BCC could compile the proper one */ +#define mknod __dv32_mknod +#define stat __dv32_stat +#define lstat __dv32_lstat +#define fstat __dv32_fstat + +struct stat { + dev_t st_dev; + unsigned short __pad1; + ino_t st_ino; + umode_t st_mode; + nlink_t st_nlink; + uid_t st_uid; + gid_t st_gid; + dev_t st_rdev; + unsigned short __pad2; + off_t st_size; + unsigned long st_blksize; + unsigned long st_blocks; + time_t st_atime; + unsigned long __unused1; + time_t st_mtime; + unsigned long __unused2; + time_t st_ctime; + unsigned long __unused3; + unsigned long __unused4; + unsigned long __unused5; +}; + +#else + struct stat { dev_t st_dev; @@ -19,6 +51,7 @@ struct stat time_t st_mtime; time_t st_ctime; }; +#endif int stat __P((__const char * __path, struct stat * __statbuf)); int lstat __P((__const char * __path, struct stat * __statbuf)); |