Kernel: Add missing ififo() to Inode::Mode
This commit is contained in:
parent
104b2740bc
commit
a7bfc1c2ec
|
@ -49,6 +49,7 @@ namespace Kernel
|
||||||
bool ifdir() const { return (mode & Mask::TYPE_MASK) == Mask::IFDIR; }
|
bool ifdir() const { return (mode & Mask::TYPE_MASK) == Mask::IFDIR; }
|
||||||
bool ifblk() const { return (mode & Mask::TYPE_MASK) == Mask::IFBLK; }
|
bool ifblk() const { return (mode & Mask::TYPE_MASK) == Mask::IFBLK; }
|
||||||
bool ifreg() const { return (mode & Mask::TYPE_MASK) == Mask::IFREG; }
|
bool ifreg() const { return (mode & Mask::TYPE_MASK) == Mask::IFREG; }
|
||||||
|
bool ififo() const { return (mode & Mask::TYPE_MASK) == Mask::IFIFO; }
|
||||||
bool iflnk() const { return (mode & Mask::TYPE_MASK) == Mask::IFLNK; }
|
bool iflnk() const { return (mode & Mask::TYPE_MASK) == Mask::IFLNK; }
|
||||||
bool ifsock() const { return (mode & Mask::TYPE_MASK) == Mask::IFSOCK; }
|
bool ifsock() const { return (mode & Mask::TYPE_MASK) == Mask::IFSOCK; }
|
||||||
mode_t mode;
|
mode_t mode;
|
||||||
|
|
Loading…
Reference in New Issue