Kernel, libc: Stub out struct stat.st_dev
This commit is contained in:
parent
9b0f6b6595
commit
f9dad8a8d6
@ -14,6 +14,7 @@ struct stat // FIXME: This struct is quite stubbed out.
|
||||
ino_t st_ino;
|
||||
mode_t st_mode;
|
||||
off_t st_size;
|
||||
int st_dev; // FIXME: Implement this.
|
||||
};
|
||||
|
||||
void do_stat(Context* context, VFS::Node* node, struct stat* buf)
|
||||
|
@ -9,6 +9,7 @@ struct stat // FIXME: This struct is quite stubbed out.
|
||||
ino_t st_ino;
|
||||
mode_t st_mode;
|
||||
off_t st_size;
|
||||
int st_dev; // Not implemented.
|
||||
};
|
||||
|
||||
#define S_ISDIR(mode) (((mode)&0xf) == __VFS_DIRECTORY)
|
||||
|
Loading…
Reference in New Issue
Block a user