It's actually S_ISCHR in this case
This commit is contained in:
parent
cdb1f46b93
commit
da8a3de480
@ -14,7 +14,7 @@ struct stat // FIXME: This struct is quite stubbed out.
|
|||||||
|
|
||||||
#define S_ISDIR(mode) (((mode)&0xf) == __VFS_DIRECTORY)
|
#define S_ISDIR(mode) (((mode)&0xf) == __VFS_DIRECTORY)
|
||||||
#define S_ISREG(mode) (((mode)&0xf) == __VFS_FILE)
|
#define S_ISREG(mode) (((mode)&0xf) == __VFS_FILE)
|
||||||
#define S_ISDEV(mode) (((mode)&0xf) == __VFS_DEVICE)
|
#define S_ISCHR(mode) (((mode)&0xf) == __VFS_DEVICE)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
Loading…
Reference in New Issue
Block a user