KCML File Modes

Constant NameValueDescription
_K_IFMT0xf000Bitmask for the file type bitfields
_K_IFREG0x8000Regular file
_K_IFSOCK0xc000Socket
_K_IFLNK0xa000Symbolic link
_K_IFBLK0x6000Block device
_K_IFIFO0x1000Fifo
_K_IFDIR0x4000Directory
_K_IFCHR0x2000Character device
_K_ISUID0x800UID bit
_K_ISGID0x400GID bit
_K_ISVTX0x200Sticky bit
_K_IRUSR0x100Owner has read permission
_K_IWUSR0x80Owner has write permission
_K_IXUSR0x40Owner has execute permission
_K_IRGRP0x20Group has read permission
_K_IWGRP0x10Group has write permission
_K_IXGRP0x8Group has execute permission
_K_IROTH0x4Others have read permission
_K_IWOTH0x2Others have write permisson
_K_IXOTH0x1Others have execute permission

Back to the list of Enumerations and Constants