musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sys/inotify.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2018年11月10日 19:25:28 +0000
committerRich Felker <dalias@aerifal.cx>2019年03月13日 12:29:27 -0400
commitdf4b017bcdf626a1ef8bbd8e9724d336c788fb0d (patch)
treef0f26d079bd6769219528c0997f24460ff862721 /include/sys/inotify.h
parent31b3efbf3eccec3296980527f4afcb49a0753b1d (diff)
downloadmusl-df4b017bcdf626a1ef8bbd8e9724d336c788fb0d.tar.gz
sys/inotify.h: add IN_MASK_CREATE from linux v4.19
inotify_add_watch flag to prevent modifying existing watch descriptors, when used on an already watched inode it fails with EEXIST. added in linux commit 4d97f7d53da7dc830dbf416a3d2a6778d267ae68
Diffstat (limited to 'include/sys/inotify.h')
-rw-r--r--include/sys/inotify.h 1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/inotify.h b/include/sys/inotify.h
index 46638cac..69b58631 100644
--- a/include/sys/inotify.h
+++ b/include/sys/inotify.h
@@ -40,6 +40,7 @@ struct inotify_event {
#define IN_ONLYDIR 0x01000000
#define IN_DONT_FOLLOW 0x02000000
#define IN_EXCL_UNLINK 0x04000000
+#define IN_MASK_CREATE 0x10000000
#define IN_MASK_ADD 0x20000000
#define IN_ISDIR 0x40000000
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月03日 18:35:36 +0000

AltStyle によって変換されたページ (->オリジナル) /