home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
TELECOM
/
GNU_ATP_1_40.lzh
/
SRC
/
stat.h
< prev
next >
Wrap
Text File
|
1993-09-12
|
506b
|
35 lines
/* stat.h by Robert A. Larson */
#ifndef __STAT_H
#define __STAT_H
#ifndef __TYPES_H
#include <types.h>
#endif
#ifndef S_IFMT
#include <modes.h>
#endif
#undef S_IFMT
#define S_IFMT 0x80
#define S_IFREG 0
#define S_IFCHR 0
/* "bogus" entries are meaningless for os9/68k */
struct stat {
dev_t st_dev;
ino_t st_ino;
u_short st_mode;
short st_nlink;
long st_uid;
short st_gid;
dev_t st_rdev;
off_t st_size;
time_t st_atime; /* bogus */
time_t st_mtime;
time_t st_ctime; /* bogus */
};
#endif