Lines Matching refs:inotify
34 #include <sys/inotify.h>
269 if (_glfw.linjs.inotify <= 0)
274 const ssize_t size = read(_glfw.linjs.inotify, buffer, sizeof(buffer));
314 _glfw.linjs.inotify = inotify_init1(IN_NONBLOCK | IN_CLOEXEC);
315 if (_glfw.linjs.inotify > 0)
320 _glfw.linjs.watch = inotify_add_watch(_glfw.linjs.inotify,
325 // Continue without device connection notifications if inotify fails
374 if (_glfw.linjs.inotify > 0)
377 inotify_rm_watch(_glfw.linjs.inotify, _glfw.linjs.watch);
379 close(_glfw.linjs.inotify);