#pragma once #include "types.h" #define T_DIR 1 // Directory #define T_FILE 2 // File #define T_DEVICE 3 // Device struct stat { int dev; // File system's disk device u32 ino; // Inode number short type; // Type of file short nlink; // Number of links to file u64 size; // Size of file in bytes };