diff options
Diffstat (limited to 'stat.h')
-rw-r--r-- | stat.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,11 @@ +#define T_DIR 1 // Directory +#define T_FILE 2 // File +#define T_DEV 3 // Special device + struct stat { + short type; // Type of file int dev; // Device number uint ino; // Inode number on device - short type; // Type of file short nlink; // Number of links to file uint size; // Size of file in bytes }; |