Home | History | Annotate | Download | only in libshmif

Lines Matching defs:inotify

47  * On BSD we use kqueue, on Linux we use inotify.  The underlying
108 #include <sys/inotify.h>
118 int inotify, rv;
120 inotify = *inotifyp;
121 if (inotify == -1) {
122 inotify = inotify_init();
123 if (inotify == -1) {
129 /* ok, need to map fd into path for inotify */
138 close(inotify);
143 if (inotify_add_watch(inotify, linkbuf, IN_MODIFY) == -1) {
145 close(inotify);
149 *inotifyp = inotify;