#ifndef STAT_H #define STAT_H 1 /* this structure is filled in by the stat function */ struct stat { unsigned short st_attr; long st_mtime; long st_size; }; /* st_attr member... */ /* file is NOT deletable */ #define ST_DELETE (1L<<0) /* file is NOT executable */ #define ST_EXECUTE (1L<<1) /* file is NOT writeable */ #define ST_WRITE (1L<<2) /* file is NOT readable */ #define ST_READ (1L<<3) /* file has been archived */ #define ST_ARCHIVE (1L<<4) /* st_mtime member is in seconds since Jan 1, 1978 */ #endif