libc: Add S_ISDEV
This commit is contained in:
parent
06e6429567
commit
cdb1f46b93
@ -14,6 +14,7 @@ struct stat // FIXME: This struct is quite stubbed out.
|
||||
|
||||
#define S_ISDIR(mode) (((mode)&0xf) == __VFS_DIRECTORY)
|
||||
#define S_ISREG(mode) (((mode)&0xf) == __VFS_FILE)
|
||||
#define S_ISDEV(mode) (((mode)&0xf) == __VFS_DEVICE)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
|
Loading…
Reference in New Issue
Block a user