fs:notify add support for inotify

support API: open close read write unlink mkdir rename fchstat rmdir symlink

Signed-off-by: guohao15 <guohao15@xiaomi.com>
This commit is contained in:
guohao15
2023-08-18 20:14:38 +08:00
committed by Xiang Xiao
parent 6e1dfe2777
commit 86e00896d3
38 changed files with 1852 additions and 8 deletions
+4
View File
@@ -50,6 +50,10 @@
"gettid","unistd.h","","pid_t"
"gettimeofday","sys/time.h","","int","FAR struct timeval *","FAR struct timezone *"
"getuid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","uid_t"
"inotify_add_watch","sys/inotify.h","defined(CONFIG_FS_NOTIFY)","int","int","FAR const char *","uint32_t"
"inotify_init","sys/inotify.h","defined(CONFIG_FS_NOTIFY)","int"
"inotify_init1","sys/inotify.h","defined(CONFIG_FS_NOTIFY)","int","int"
"inotify_rm_watch","sys/inotify.h","defined(CONFIG_FS_NOTIFY)","int","int","int"
"insmod","nuttx/module.h","defined(CONFIG_MODULE)","FAR void *","FAR const char *","FAR const char *"
"ioctl","sys/ioctl.h","","int","int","int","...","unsigned long"
"kill","signal.h","","int","pid_t","int"
1 _assert assert.h void FAR const char * int FAR const char * FAR void *
50 gettid unistd.h pid_t
51 gettimeofday sys/time.h int FAR struct timeval * FAR struct timezone *
52 getuid unistd.h defined(CONFIG_SCHED_USER_IDENTITY) uid_t
53 inotify_add_watch sys/inotify.h defined(CONFIG_FS_NOTIFY) int int FAR const char * uint32_t
54 inotify_init sys/inotify.h defined(CONFIG_FS_NOTIFY) int
55 inotify_init1 sys/inotify.h defined(CONFIG_FS_NOTIFY) int int
56 inotify_rm_watch sys/inotify.h defined(CONFIG_FS_NOTIFY) int int int
57 insmod nuttx/module.h defined(CONFIG_MODULE) FAR void * FAR const char * FAR const char *
58 ioctl sys/ioctl.h int int int ... unsigned long
59 kill signal.h int pid_t int