Make size in stat.h be a uint64
Supporting print long using %l (a bit of cheat) Modify ls to print size using %l We should probably update size in inode too.
This commit is contained in:
parent
6bfb078b14
commit
fab5e7c1de
3 changed files with 5 additions and 3 deletions
|
@ -3,9 +3,9 @@
|
|||
#define T_DEVICE 3 // Device
|
||||
|
||||
struct stat {
|
||||
short type; // Type of file
|
||||
int dev; // File system's disk device
|
||||
uint ino; // Inode number
|
||||
short type; // Type of file
|
||||
short nlink; // Number of links to file
|
||||
uint size; // Size of file in bytes
|
||||
uint64 size; // Size of file in bytes
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue