Skip to content

Commit 9f39957

Browse files
committed
Init inotify example
1 parent 2c8b125 commit 9f39957

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

inotify/inotify_exam.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#include <stdio.h>
2+
#include <sys/inotify.h>
3+
4+
int main(int argc, char *argv[])
5+
{
6+
int fd;
7+
8+
fd = inotify_init();
9+
10+
return 0;
11+
}

0 commit comments

Comments
 (0)