summaryrefslogtreecommitdiffstats
path: root/src/include/const.h
diff options
context:
space:
mode:
authorWe-unite <3205135446@qq.com>2025-01-23 10:41:10 +0800
committerWe-unite <3205135446@qq.com>2025-01-23 10:41:10 +0800
commite6f77b7ea3e38c9853bee60b275f3f89d252a5b3 (patch)
tree80bfbabed9d4cbcf9fa62677f78b34279d7e2f87 /src/include/const.h
downloadlinux-0.11-master.tar.gz
linux-0.11-master.zip
Initial commit, makee it usable on newest linuxHEADmaster
Diffstat (limited to 'src/include/const.h')
-rw-r--r--src/include/const.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/const.h b/src/include/const.h
new file mode 100644
index 0000000..7828e61
--- /dev/null
+++ b/src/include/const.h
@@ -0,0 +1,15 @@
1#ifndef _CONST_H
2#define _CONST_H
3
4#define BUFFER_END 0x200000
5
6#define I_TYPE 0170000
7#define I_DIRECTORY 0040000
8#define I_REGULAR 0100000
9#define I_BLOCK_SPECIAL 0060000
10#define I_CHAR_SPECIAL 0020000
11#define I_NAMED_PIPE 0010000
12#define I_SET_UID_BIT 0004000
13#define I_SET_GID_BIT 0002000
14
15#endif