summaryrefslogtreecommitdiff
path: root/stat.h
diff options
context:
space:
mode:
authorrsc <rsc>2006-09-07 14:12:30 +0000
committerrsc <rsc>2006-09-07 14:12:30 +0000
commit31085bb4166c18b3dee059160d64b4edd7c5e2f4 (patch)
treed3b166a2c39f77e06e7104659b537521282f9260 /stat.h
parent7e019461c8bf0afbe73f959ca3394cce832501fd (diff)
downloadxv6-labs-31085bb4166c18b3dee059160d64b4edd7c5e2f4.tar.gz
xv6-labs-31085bb4166c18b3dee059160d64b4edd7c5e2f4.tar.bz2
xv6-labs-31085bb4166c18b3dee059160d64b4edd7c5e2f4.zip
more comments
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/stat.h b/stat.h
index 57a018c..bc3a06c 100644
--- a/stat.h
+++ b/stat.h
@@ -1,7 +1,7 @@
struct stat {
- int dev;
- uint ino;
- short type;
- short nlink;
- uint size;
+ 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
};