Kernel: Add missing ififo() to Inode::Mode
This commit is contained in:
parent
5786ffe7d2
commit
195ccf4f53
|
@ -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