liblinux++

Log | Files | Refs

commit 04700ad5b7b89dcf7b50c6e0a2284e522271ee4f
parent 893e63f2195563b4deadeb9cf55355aa7710fd8d
Author: Henry Wilson <henry@henryandlizzy.uk>
Date:   Sun, 21 Dec 2025 21:03:30 +0000

Add file type definitions

Diffstat:
Mlinux.h | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/linux.h b/linux.h @@ -21,6 +21,16 @@ enum { MAP_ANONYMOUS = 0x20, MAP_SHARED = 0x1, MAP_PRIVATE = 0x2, + + DT_UNKNOWN = 0, + DT_FIFO = 1, + DT_CHR = 2, + DT_DIR = 4, + DT_BLK = 6, + DT_REG = 8, + DT_LNK = 10, + DT_SOCK = 12, + DT_WHT = 14, }; struct iovecc