Mercurial > hg > CbC > CbC_xv6
annotate src/stat.h @ 394:03b57cc656d9
llvm option in pmake.pl
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 20:44:38 +0900 (2020-12-14) |
parents | 83c23a36980d |
children |
rev | line source |
---|---|
0 | 1 #define T_DIR 1 // Directory |
2 #define T_FILE 2 // File | |
3 #define T_DEV 3 // Device | |
4 | |
5 struct stat { | |
6 short type; // Type of file | |
7 int dev; // File system's disk device | |
8 uint ino; // Inode number | |
9 short nlink; // Number of links to file | |
10 uint size; // Size of file in bytes | |
11 }; |