aboutsummaryrefslogtreecommitdiff
path: root/core/sys/linux/constants.odin
diff options
context:
space:
mode:
authorA1029384756 <hayden.gray104@gmail.com>2024-11-12 23:53:52 -0500
committerA1029384756 <hayden.gray104@gmail.com>2024-11-13 00:05:58 -0500
commitbb2033898781affb1dbca2cb9e8635e1db237c4f (patch)
tree41e895e80209091c555db4e5b292601e293bb70c /core/sys/linux/constants.odin
parent91bd5d44187cc8ad48452db665acf7eb8a5cb19b (diff)
core:sys/linux - implemented inotify
core:sys/linux - added constants and spacing
Diffstat (limited to 'core/sys/linux/constants.odin')
-rw-r--r--core/sys/linux/constants.odin8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/sys/linux/constants.odin b/core/sys/linux/constants.odin
index 129444d0f..551a4fc40 100644
--- a/core/sys/linux/constants.odin
+++ b/core/sys/linux/constants.odin
@@ -135,6 +135,14 @@ STATX_BASIC_STATS :: Statx_Mask {
.BLOCKS,
}
+IN_ONLYDIR :: 0x01000000
+IN_DONT_FOLLOW :: 0x02000000
+IN_EXCL_UNLINK :: 0x04000000
+IN_MASK_CREATE :: 0x10000000
+IN_MASK_ADD :: 0x20000000
+IN_ISDIR :: 0x40000000
+IN_ONESHOT :: 0x80000000
+
/*
Tell `shmget` to create a new key
*/