… | |
… | |
56 | int |
56 | int |
57 | inotify_rm_watch (int fd, U32 wd) |
57 | inotify_rm_watch (int fd, U32 wd) |
58 | |
58 | |
59 | int |
59 | int |
60 | inotify_blocking (int fd, I32 blocking) |
60 | inotify_blocking (int fd, I32 blocking) |
61 | CODE: |
61 | CODE: |
62 | fcntl (fd, F_SETFL, blocking ? 0 : O_NONBLOCK); |
62 | fcntl (fd, F_SETFL, blocking ? 0 : O_NONBLOCK); |
63 | |
63 | |
64 | void |
64 | void |
65 | inotify_read (int fd, int size = 8192) |
65 | inotify_read (int fd, int size = 8192) |
66 | PPCODE: |
66 | PPCODE: |
… | |
… | |
93 | |
93 | |
94 | XPUSHs (sv_2mortal (newRV_noinc ((SV *)hv))); |
94 | XPUSHs (sv_2mortal (newRV_noinc ((SV *)hv))); |
95 | } |
95 | } |
96 | } |
96 | } |
97 | |
97 | |
98 | |
|
|