diff options
Diffstat (limited to 'dirent/dirent.h')
-rw-r--r-- | dirent/dirent.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dirent/dirent.h b/dirent/dirent.h index d7e8a543b9..01c44a2971 100644 --- a/dirent/dirent.h +++ b/dirent/dirent.h @@ -83,13 +83,21 @@ __BEGIN_DECLS enum { DT_UNKNOWN = 0, +# define DT_UNKNOWN DT_UNKNOWN DT_FIFO = 1, +# define DT_FIFO DT_FIFO DT_CHR = 2, +# define DT_CHR DT_CHR DT_DIR = 4, +# define DT_DIR DT_DIR DT_BLK = 6, +# define DT_BLK DT_BLK DT_REG = 8, +# define DT_REG DT_REG DT_LNK = 10, +# define DT_LNK DT_LNK DT_SOCK = 12 +# define DT_SOCK DT_SOCK }; /* Convert between stat structure types and directory types. */ |