diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/inotify.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/inotify.c b/src/inotify.c index 470b60ba893..cb24e827626 100644 --- a/src/inotify.c +++ b/src/inotify.c | |||
| @@ -382,9 +382,17 @@ If a directory is watched then NAME is the name of file that caused the event. | |||
| 382 | COOKIE is an object that can be compared using `equal' to identify two matching | 382 | COOKIE is an object that can be compared using `equal' to identify two matching |
| 383 | renames (moved-from and moved-to). | 383 | renames (moved-from and moved-to). |
| 384 | 384 | ||
| 385 | See inotify(7) and inotify_add_watch(2) for further information. The inotify fd | 385 | See inotify(7) and inotify_add_watch(2) for further information. The |
| 386 | is managed internally and there is no corresponding inotify_init. Use | 386 | inotify fd is managed internally and there is no corresponding |
| 387 | `inotify-rm-watch' to remove a watch. */) | 387 | inotify_init. Use `inotify-rm-watch' to remove a watch. |
| 388 | |||
| 389 | Also note, that the following inotify bit-masks can not be used, due | ||
| 390 | to the fact that descriptors are shared across different callers. | ||
| 391 | |||
| 392 | IN_EXCL_UNLINK | ||
| 393 | IN_MASK_ADD | ||
| 394 | IN_ONESHOT | ||
| 395 | IN_ONLYDIR */) | ||
| 388 | (Lisp_Object filename, Lisp_Object aspect, Lisp_Object callback) | 396 | (Lisp_Object filename, Lisp_Object aspect, Lisp_Object callback) |
| 389 | { | 397 | { |
| 390 | Lisp_Object encoded_file_name; | 398 | Lisp_Object encoded_file_name; |