Iros
 
Loading...
Searching...
No Matches
file_type.h
Go to the documentation of this file.
1#pragma once
2
3namespace dius::filesystem {
4enum class FileType {
5 // NOTE: the FileType enum is setup to match the Linux system call ABI.
6 // None and NotFound are chosen by us, and are never returned by Linux.
7 None = 64,
8 NotFound = 32,
9 Regular = 8,
11 Symlink = 10,
12 Block = 6,
14 Fifo = 1,
15 Socket = 12,
17};
18}
Definition directory_entry.h:11
FileType
Definition file_type.h:6
@ Symlink
Definition file_type.h:11
@ NotFound
Definition file_type.h:8
@ Socket
Definition file_type.h:15
@ Character
Definition file_type.h:13
@ Fifo
Definition file_type.h:14
@ Regular
Definition file_type.h:9
@ Block
Definition file_type.h:12
@ Directory
Definition file_type.h:10
@ None
Definition directory_options.h:7
@ Unknown
Definition perms.h:25