1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2012-05-01 04:38+0900\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
16 "Content-Type: text/plain; charset=CHARSET\n"
17 "Content-Transfer-Encoding: 8bit\n"
20 #: build/C/man7/inotify.7:26
26 #: build/C/man7/inotify.7:26
32 #: build/C/man7/inotify.7:26 build/C/man2/inotify_add_watch.2:29 build/C/man2/inotify_init.2:29 build/C/man2/inotify_rm_watch.2:28
38 #: build/C/man7/inotify.7:26 build/C/man2/inotify_add_watch.2:29 build/C/man2/inotify_init.2:29 build/C/man2/inotify_rm_watch.2:28
40 msgid "Linux Programmer's Manual"
44 #: build/C/man7/inotify.7:27 build/C/man2/inotify_add_watch.2:30 build/C/man2/inotify_init.2:30 build/C/man2/inotify_rm_watch.2:29
50 #: build/C/man7/inotify.7:29
51 msgid "inotify - monitoring file system events"
55 #: build/C/man7/inotify.7:29 build/C/man2/inotify_add_watch.2:36 build/C/man2/inotify_init.2:39 build/C/man2/inotify_rm_watch.2:37
61 #: build/C/man7/inotify.7:37
63 "The I<inotify> API provides a mechanism for monitoring file system events. "
64 "Inotify can be used to monitor individual files, or to monitor directories. "
65 "When a directory is monitored, inotify will return events for the directory "
66 "itself, and for files inside the directory."
70 #: build/C/man7/inotify.7:47
72 "The following system calls are used with this API: B<inotify_init>(2) (or "
73 "B<inotify_init1>(2)), B<inotify_add_watch>(2), B<inotify_rm_watch>(2), "
74 "B<read>(2), and B<close>(2)."
78 #: build/C/man7/inotify.7:56
80 "B<inotify_init>(2) creates an inotify instance and returns a file "
81 "descriptor referring to the inotify instance. The more recent "
82 "B<inotify_init1>(2) is like B<inotify_init>(2), but provides some extra "
87 #: build/C/man7/inotify.7:69
89 "B<inotify_add_watch>(2) manipulates the \"watch list\" associated with an "
90 "inotify instance. Each item (\"watch\") in the watch list specifies the "
91 "pathname of a file or directory, along with some set of events that the "
92 "kernel should monitor for the file referred to by that pathname. "
93 "B<inotify_add_watch>(2) either creates a new watch item, or modifies an "
94 "existing watch. Each watch has a unique \"watch descriptor\", an integer "
95 "returned by B<inotify_add_watch>(2) when the watch is created."
99 #: build/C/man7/inotify.7:72
100 msgid "B<inotify_rm_watch>(2) removes an item from an inotify watch list."
104 #: build/C/man7/inotify.7:78
106 "When all file descriptors referring to an inotify instance have been closed, "
107 "the underlying object and its resources are freed for reuse by the kernel; "
108 "all associated watches are automatically freed."
112 #: build/C/man7/inotify.7:91
114 "To determine what events have occurred, an application B<read>(2)s from the "
115 "inotify file descriptor. If no events have so far occurred, then, assuming "
116 "a blocking file descriptor, B<read>(2) will block until at least one event "
117 "occurs (unless interrupted by a signal, in which case the call fails with "
118 "the error B<EINTR>; see B<signal>(7))."
122 #: build/C/man7/inotify.7:95
124 "Each successful B<read>(2) returns a buffer containing one or more of the "
125 "following structures:"
128 #. FIXME . The type of the 'wd' field should probably be "int32_t".
129 #. I submitted a patch to fix this. See the LKML thread
130 #. "[patch] Fix type errors in inotify interfaces", 18 Nov 2008
131 #. Glibc bug filed: http://sources.redhat.com/bugzilla/show_bug.cgi?id=7040
133 #: build/C/man7/inotify.7:110
136 "struct inotify_event {\n"
137 " int wd; /* Watch descriptor */\n"
138 " uint32_t mask; /* Mask of events */\n"
139 " uint32_t cookie; /* Unique cookie associating related\n"
140 " events (for rename(2)) */\n"
141 " uint32_t len; /* Size of I<name> field */\n"
142 " char name[]; /* Optional null-terminated name */\n"
147 #: build/C/man7/inotify.7:117
149 "I<wd> identifies the watch for which this event occurs. It is one of the "
150 "watch descriptors returned by a previous call to B<inotify_add_watch>(2)."
154 #: build/C/man7/inotify.7:120
155 msgid "I<mask> contains bits that describe the event that occurred (see below)."
159 #: build/C/man7/inotify.7:132
161 "I<cookie> is a unique integer that connects related events. Currently this "
162 "is only used for rename events, and allows the resulting pair of "
163 "B<IN_MOVE_FROM> and B<IN_MOVE_TO> events to be connected by the "
164 "application. For all other event types, I<cookie> is set to 0."
168 #: build/C/man7/inotify.7:141
170 "The I<name> field is only present when an event is returned for a file "
171 "inside a watched directory; it identifies the file pathname relative to the "
172 "watched directory. This pathname is null-terminated, and may include "
173 "further null bytes to align subsequent reads to a suitable address boundary."
177 #: build/C/man7/inotify.7:151
179 "The I<len> field counts all of the bytes in I<name>, including the null "
180 "bytes; the length of each I<inotify_event> structure is thus I<sizeof(struct "
181 "inotify_event)+len>."
185 #: build/C/man7/inotify.7:162
187 "The behavior when the buffer given to B<read>(2) is too small to return "
188 "information about the next event depends on the kernel version: in kernels "
189 "before 2.6.21, B<read>(2) returns 0; since kernel 2.6.21, B<read>(2) fails "
190 "with the error B<EINVAL>. Specifying a buffer of size"
194 #: build/C/man7/inotify.7:164
196 msgid " sizeof(struct inotify_event) + NAME_MAX + 1\n"
200 #: build/C/man7/inotify.7:166
201 msgid "will be sufficient to read at least one event."
205 #: build/C/man7/inotify.7:167
207 msgid "inotify events"
211 #: build/C/man7/inotify.7:187
213 "The B<inotify_add_watch>(2) I<mask> argument and the I<mask> field of the "
214 "I<inotify_event> structure returned when B<read>(2)ing an inotify file "
215 "descriptor are both bit masks identifying inotify events. The following "
216 "bits can be specified in I<mask> when calling B<inotify_add_watch>(2) and "
217 "may be returned in the I<mask> field returned by B<read>(2):"
221 #: build/C/man7/inotify.7:190
227 #: build/C/man7/inotify.7:193
228 msgid "File was accessed (read) (*)."
232 #: build/C/man7/inotify.7:193
238 #: build/C/man7/inotify.7:197
240 "Metadata changed, e.g., permissions, timestamps, extended attributes, link "
241 "count (since Linux 2.6.25), UID, GID, etc. (*)."
245 #: build/C/man7/inotify.7:197
247 msgid "B<IN_CLOSE_WRITE>"
251 #: build/C/man7/inotify.7:200
252 msgid "File opened for writing was closed (*)."
256 #: build/C/man7/inotify.7:200
258 msgid "B<IN_CLOSE_NOWRITE>"
262 #: build/C/man7/inotify.7:203
263 msgid "File not opened for writing was closed (*)."
267 #: build/C/man7/inotify.7:203
273 #: build/C/man7/inotify.7:206
274 msgid "File/directory created in watched directory (*)."
278 #: build/C/man7/inotify.7:206
284 #: build/C/man7/inotify.7:209
285 msgid "File/directory deleted from watched directory (*)."
289 #: build/C/man7/inotify.7:209
291 msgid "B<IN_DELETE_SELF>"
295 #: build/C/man7/inotify.7:212
296 msgid "Watched file/directory was itself deleted."
300 #: build/C/man7/inotify.7:212
306 #: build/C/man7/inotify.7:215
307 msgid "File was modified (*)."
311 #: build/C/man7/inotify.7:215
313 msgid "B<IN_MOVE_SELF>"
317 #: build/C/man7/inotify.7:218
318 msgid "Watched file/directory was itself moved."
322 #: build/C/man7/inotify.7:218
324 msgid "B<IN_MOVED_FROM>"
328 #: build/C/man7/inotify.7:221
329 msgid "File moved out of watched directory (*)."
333 #: build/C/man7/inotify.7:221
335 msgid "B<IN_MOVED_TO>"
339 #: build/C/man7/inotify.7:224
340 msgid "File moved into watched directory (*)."
344 #: build/C/man7/inotify.7:224
350 #: build/C/man7/inotify.7:227
351 msgid "File was opened (*)."
355 #: build/C/man7/inotify.7:237
357 "When monitoring a directory, the events marked with an asterisk (*) above "
358 "can occur for files in the directory, in which case the I<name> field in the "
359 "returned I<inotify_event> structure identifies the name of the file within "
364 #: build/C/man7/inotify.7:245
366 "The B<IN_ALL_EVENTS> macro is defined as a bit mask of all of the above "
367 "events. This macro can be used as the I<mask> argument when calling "
368 "B<inotify_add_watch>(2)."
372 #: build/C/man7/inotify.7:254
374 "Two additional convenience macros are B<IN_MOVE>, which equates to "
375 "IN_MOVED_FROM|IN_MOVED_TO, and B<IN_CLOSE>, which equates to "
376 "IN_CLOSE_WRITE|IN_CLOSE_NOWRITE."
380 #: build/C/man7/inotify.7:259
382 "The following further bits can be specified in I<mask> when calling "
383 "B<inotify_add_watch>(2):"
387 #: build/C/man7/inotify.7:262
389 msgid "B<IN_DONT_FOLLOW> (since Linux 2.6.15)"
393 #: build/C/man7/inotify.7:265
394 msgid "Don't dereference I<pathname> if it is a symbolic link."
398 #: build/C/man7/inotify.7:265
400 msgid "B<IN_EXCL_UNLINK> (since Linux 2.6.36)"
403 #. commit 8c1934c8d70b22ca8333b216aec6c7d09fdbd6a6
405 #: build/C/man7/inotify.7:281
407 "By default, when watching events on the children of a directory, events are "
408 "generated for children even after they have been unlinked from the "
409 "directory. This can result in large numbers of uninteresting events for "
410 "some applications (e.g., if watching I</tmp>, in which many applications "
411 "create temporary files whose names are immediately unlinked). Specifying "
412 "B<IN_EXCL_UNLINK> changes the default behavior, so that events are not "
413 "generated for children after they have been unlinked from the watched "
418 #: build/C/man7/inotify.7:281
420 msgid "B<IN_MASK_ADD>"
424 #: build/C/man7/inotify.7:285
426 "Add (OR) events to watch mask for this pathname if it already exists "
427 "(instead of replacing mask)."
431 #: build/C/man7/inotify.7:285
433 msgid "B<IN_ONESHOT>"
437 #: build/C/man7/inotify.7:289
438 msgid "Monitor I<pathname> for one event, then remove from watch list."
442 #: build/C/man7/inotify.7:289
444 msgid "B<IN_ONLYDIR> (since Linux 2.6.15)"
448 #: build/C/man7/inotify.7:292
449 msgid "Only watch I<pathname> if it is a directory."
453 #: build/C/man7/inotify.7:299
454 msgid "The following bits may be set in the I<mask> field returned by B<read>(2):"
458 #: build/C/man7/inotify.7:302
460 msgid "B<IN_IGNORED>"
464 #: build/C/man7/inotify.7:306
466 "Watch was removed explicitly (B<inotify_rm_watch>(2)) or automatically "
467 "(file was deleted, or file system was unmounted)."
471 #: build/C/man7/inotify.7:306
477 #: build/C/man7/inotify.7:309
478 msgid "Subject of this event is a directory."
482 #: build/C/man7/inotify.7:309
484 msgid "B<IN_Q_OVERFLOW>"
488 #: build/C/man7/inotify.7:312
489 msgid "Event queue overflowed (I<wd> is -1 for this event)."
493 #: build/C/man7/inotify.7:312
495 msgid "B<IN_UNMOUNT>"
499 #: build/C/man7/inotify.7:315
500 msgid "File system containing watched object was unmounted."
504 #: build/C/man7/inotify.7:317
506 msgid "/proc interfaces"
510 #: build/C/man7/inotify.7:320
512 "The following interfaces can be used to limit the amount of kernel memory "
513 "consumed by inotify:"
517 #: build/C/man7/inotify.7:320
519 msgid "I</proc/sys/fs/inotify/max_queued_events>"
523 #: build/C/man7/inotify.7:329
525 "The value in this file is used when an application calls B<inotify_init>(2) "
526 "to set an upper limit on the number of events that can be queued to the "
527 "corresponding inotify instance. Events in excess of this limit are dropped, "
528 "but an B<IN_Q_OVERFLOW> event is always generated."
532 #: build/C/man7/inotify.7:329
534 msgid "I</proc/sys/fs/inotify/max_user_instances>"
538 #: build/C/man7/inotify.7:333
540 "This specifies an upper limit on the number of inotify instances that can be "
541 "created per real user ID."
545 #: build/C/man7/inotify.7:333
547 msgid "I</proc/sys/fs/inotify/max_user_watches>"
551 #: build/C/man7/inotify.7:337
553 "This specifies an upper limit on the number of watches that can be created "
558 #: build/C/man7/inotify.7:337 build/C/man2/inotify_add_watch.2:115 build/C/man2/inotify_init.2:91 build/C/man2/inotify_rm_watch.2:67
564 #: build/C/man7/inotify.7:345
566 "Inotify was merged into the 2.6.13 Linux kernel. The required library "
567 "interfaces were added to glibc in version 2.4. (B<IN_DONT_FOLLOW>, "
568 "B<IN_MASK_ADD>, and B<IN_ONLYDIR> were only added in version 2.5.)"
572 #: build/C/man7/inotify.7:345 build/C/man2/inotify_add_watch.2:117 build/C/man2/inotify_init.2:96 build/C/man2/inotify_rm_watch.2:69
574 msgid "CONFORMING TO"
578 #: build/C/man7/inotify.7:347
579 msgid "The inotify API is Linux-specific."
583 #: build/C/man7/inotify.7:347
589 #: build/C/man7/inotify.7:354
591 "Inotify file descriptors can be monitored using B<select>(2), B<poll>(2), "
592 "and B<epoll>(7). When an event is available, the file descriptor indicates "
597 #: build/C/man7/inotify.7:383
599 "Since Linux 2.6.25, signal-driven I/O notification is available for inotify "
600 "file descriptors; see the discussion of B<F_SETFL> (for setting the "
601 "B<O_ASYNC> flag), B<F_SETOWN>, and B<F_SETSIG> in B<fcntl>(2). The "
602 "I<siginfo_t> structure (described in B<sigaction>(2)) that is passed to the "
603 "signal handler has the following fields set: I<si_fd> is set to the inotify "
604 "file descriptor number; I<si_signo> is set to the signal number; I<si_code> "
605 "is set to B<POLL_IN>; and B<POLLIN> is set in I<si_band>."
609 #: build/C/man7/inotify.7:393
611 "If successive output inotify events produced on the inotify file descriptor "
612 "are identical (same I<wd>, I<mask>, I<cookie>, and I<name>) then they are "
613 "coalesced into a single event if the older event has not yet been read (but "
618 #: build/C/man7/inotify.7:399
620 "The events returned by reading from an inotify file descriptor form an "
621 "ordered queue. Thus, for example, it is guaranteed that when renaming from "
622 "one directory to another, events will be produced in the correct order on "
623 "the inotify file descriptor."
627 #: build/C/man7/inotify.7:405
629 "The B<FIONREAD> B<ioctl>(2) returns the number of bytes available to read "
630 "from an inotify file descriptor."
634 #: build/C/man7/inotify.7:405
636 msgid "Limitations and caveats"
640 #: build/C/man7/inotify.7:410
642 "Inotify monitoring of directories is not recursive: to monitor "
643 "subdirectories under a directory, additional watches must be created. This "
644 "can take a significant amount time for large directory trees."
648 #: build/C/man7/inotify.7:413
650 "The inotify API provides no information about the user or process that "
651 "triggered the inotify event."
655 #: build/C/man7/inotify.7:418
657 "Note that the event queue can overflow. In this case, events are lost. "
658 "Robust applications should handle the possibility of lost events gracefully."
662 #: build/C/man7/inotify.7:422
664 "The inotify API identifies affected files by filename. However, by the time "
665 "an application processes an inotify event, the filename may already have "
666 "been deleted or renamed."
670 #: build/C/man7/inotify.7:429
672 "If monitoring an entire directory subtree, and a new subdirectory is created "
673 "in that tree, be aware that by the time you create a watch for the new "
674 "subdirectory, new files may already have been created in the subdirectory. "
675 "Therefore, you may want to scan the contents of the subdirectory immediately "
676 "after adding the watch."
680 #: build/C/man7/inotify.7:429
686 #: build/C/man7/inotify.7:434
687 msgid "In kernels before 2.6.16, the B<IN_ONESHOT> I<mask> flag does not work."
691 #: build/C/man7/inotify.7:442
693 "Before kernel 2.6.25, the kernel code that was intended to coalesce "
694 "successive identical events (i.e., the two most recent events could "
695 "potentially be coalesced if the older had not yet been read) instead "
696 "checked if the most recent event could be coalesced with the I<oldest> "
701 #: build/C/man7/inotify.7:442 build/C/man2/inotify_add_watch.2:119 build/C/man2/inotify_init.2:98 build/C/man2/inotify_rm_watch.2:71
707 #: build/C/man7/inotify.7:450
709 "B<inotify_add_watch>(2), B<inotify_init>(2), B<inotify_init1>(2), "
710 "B<inotify_rm_watch>(2), B<read>(2), B<stat>(2), "
711 "I<Documentation/filesystems/inotify.txt>."
715 #: build/C/man7/inotify.7:450 build/C/man2/inotify_add_watch.2:123 build/C/man2/inotify_init.2:102 build/C/man2/inotify_rm_watch.2:75
721 #: build/C/man7/inotify.7:457 build/C/man2/inotify_add_watch.2:130 build/C/man2/inotify_init.2:109 build/C/man2/inotify_rm_watch.2:82
723 "This page is part of release 3.40 of the Linux I<man-pages> project. A "
724 "description of the project, and information about reporting bugs, can be "
725 "found at http://www.kernel.org/doc/man-pages/."
729 #: build/C/man2/inotify_add_watch.2:29
731 msgid "INOTIFY_ADD_WATCH"
735 #: build/C/man2/inotify_add_watch.2:29
741 #: build/C/man2/inotify_add_watch.2:32
742 msgid "inotify_add_watch - add a watch to an initialized inotify instance"
746 #: build/C/man2/inotify_add_watch.2:32 build/C/man2/inotify_init.2:32 build/C/man2/inotify_rm_watch.2:31
752 #: build/C/man2/inotify_add_watch.2:34 build/C/man2/inotify_rm_watch.2:33
753 msgid "B<#include E<lt>sys/inotify.hE<gt>>"
757 #: build/C/man2/inotify_add_watch.2:36
759 "B<int inotify_add_watch(int >I<fd>B<, const char *>I<pathname>B<, uint32_t "
764 #: build/C/man2/inotify_add_watch.2:55
766 "B<inotify_add_watch>() adds a new watch, or modifies an existing watch, for "
767 "the file whose location is specified in I<pathname>; the caller must have "
768 "read permission for this file. The I<fd> argument is a file descriptor "
769 "referring to the inotify instance whose watch list is to be modified. The "
770 "events to be monitored for I<pathname> are specified in the I<mask> bit-mask "
771 "argument. See B<inotify>(7) for a description of the bits that can be set "
776 #: build/C/man2/inotify_add_watch.2:69
778 "A successful call to B<inotify_add_watch>() returns the unique watch "
779 "descriptor associated with I<pathname> for this inotify instance. If "
780 "I<pathname> was not previously being watched by this inotify instance, then "
781 "the watch descriptor is newly allocated. If I<pathname> was already being "
782 "watched, then the descriptor for the existing watch is returned."
786 #: build/C/man2/inotify_add_watch.2:80
788 "The watch descriptor is returned by later B<read>(2)s from the inotify file "
789 "descriptor. These reads fetch I<inotify_event> structures (see "
790 "B<inotify>(7)) indicating file system events; the watch descriptor inside "
791 "this structure identifies the object for which the event occurred."
795 #: build/C/man2/inotify_add_watch.2:80 build/C/man2/inotify_init.2:71 build/C/man2/inotify_rm_watch.2:49
801 #: build/C/man2/inotify_add_watch.2:87
803 "On success, B<inotify_add_watch>() returns a nonnegative watch descriptor. "
804 "On error -1 is returned and I<errno> is set appropriately."
808 #: build/C/man2/inotify_add_watch.2:87 build/C/man2/inotify_init.2:76 build/C/man2/inotify_rm_watch.2:55
814 #: build/C/man2/inotify_add_watch.2:88
820 #: build/C/man2/inotify_add_watch.2:91
821 msgid "Read access to the given file is not permitted."
825 #: build/C/man2/inotify_add_watch.2:91 build/C/man2/inotify_rm_watch.2:56
831 #: build/C/man2/inotify_add_watch.2:94
832 msgid "The given file descriptor is not valid."
836 #: build/C/man2/inotify_add_watch.2:94
842 #: build/C/man2/inotify_add_watch.2:98
843 msgid "I<pathname> points outside of the process's accessible address space."
847 #: build/C/man2/inotify_add_watch.2:98 build/C/man2/inotify_init.2:77 build/C/man2/inotify_rm_watch.2:60
853 #: build/C/man2/inotify_add_watch.2:103
855 "The given event mask contains no valid events; or I<fd> is not an inotify "
860 #: build/C/man2/inotify_add_watch.2:103
866 #: build/C/man2/inotify_add_watch.2:108
868 "A directory component in I<pathname> does not exist or is a dangling "
873 #: build/C/man2/inotify_add_watch.2:108 build/C/man2/inotify_init.2:88
879 #: build/C/man2/inotify_add_watch.2:111
880 msgid "Insufficient kernel memory was available."
884 #: build/C/man2/inotify_add_watch.2:111
890 #: build/C/man2/inotify_add_watch.2:115
892 "The user limit on the total number of inotify watches was reached or the "
893 "kernel failed to allocate a needed resource."
897 #: build/C/man2/inotify_add_watch.2:117 build/C/man2/inotify_rm_watch.2:69
898 msgid "Inotify was merged into the 2.6.13 Linux kernel."
902 #: build/C/man2/inotify_add_watch.2:119 build/C/man2/inotify_rm_watch.2:71
903 msgid "This system call is Linux-specific."
907 #: build/C/man2/inotify_add_watch.2:123
908 msgid "B<inotify_init>(2), B<inotify_rm_watch>(2), B<inotify>(7)"
912 #: build/C/man2/inotify_init.2:29
918 #: build/C/man2/inotify_init.2:29
924 #: build/C/man2/inotify_init.2:32
925 msgid "inotify_init, inotify_init1 - initialize an inotify instance"
929 #: build/C/man2/inotify_init.2:35
931 msgid "B<#include E<lt>sys/inotify.hE<gt>>\n"
935 #: build/C/man2/inotify_init.2:38
938 "B<int inotify_init(void);>\n"
939 "B<int inotify_init1(int >I<flags>B<);>\n"
943 #: build/C/man2/inotify_init.2:43
945 "B<inotify_init>() initializes a new inotify instance and returns a file "
946 "descriptor associated with a new inotify event queue."
950 #: build/C/man2/inotify_init.2:53
952 "If I<flags> is 0, then B<inotify_init1>() is the same as "
953 "B<inotify_init>(). The following values can be bitwise ORed in I<flags> to "
954 "obtain different behavior:"
958 #: build/C/man2/inotify_init.2:53
960 msgid "B<IN_NONBLOCK>"
964 #: build/C/man2/inotify_init.2:61
966 "Set the B<O_NONBLOCK> file status flag on the new open file description. "
967 "Using this flag saves extra calls to B<fcntl>(2) to achieve the same "
972 #: build/C/man2/inotify_init.2:61
974 msgid "B<IN_CLOEXEC>"
978 #: build/C/man2/inotify_init.2:71
980 "Set the close-on-exec (B<FD_CLOEXEC>) flag on the new file descriptor. See "
981 "the description of the B<O_CLOEXEC> flag in B<open>(2) for reasons why this "
986 #: build/C/man2/inotify_init.2:76
988 "On success, these system calls return a new file descriptor. On error, -1 "
989 "is returned, and I<errno> is set to indicate the error."
993 #: build/C/man2/inotify_init.2:82
994 msgid "(B<inotify_init1>()) An invalid value was specified in I<flags>."
998 #: build/C/man2/inotify_init.2:82
1004 #: build/C/man2/inotify_init.2:85
1005 msgid "The user limit on the total number of inotify instances has been reached."
1009 #: build/C/man2/inotify_init.2:85
1015 #: build/C/man2/inotify_init.2:88
1016 msgid "The system limit on the total number of file descriptors has been reached."
1020 #: build/C/man2/inotify_init.2:91
1021 msgid "Insufficient kernel memory is available."
1025 #: build/C/man2/inotify_init.2:96
1027 "B<inotify_init>() first appeared in Linux 2.6.13. B<inotify_init1>() was "
1028 "added in Linux 2.6.27."
1032 #: build/C/man2/inotify_init.2:98
1033 msgid "These system calls are Linux-specific."
1037 #: build/C/man2/inotify_init.2:102
1038 msgid "B<inotify_add_watch>(2), B<inotify_rm_watch>(2), B<inotify>(7)"
1042 #: build/C/man2/inotify_rm_watch.2:28
1044 msgid "INOTIFY_RM_WATCH"
1048 #: build/C/man2/inotify_rm_watch.2:28
1054 #: build/C/man2/inotify_rm_watch.2:31
1055 msgid "inotify_rm_watch - remove an existing watch from an inotify instance"
1058 #. Before glibc 2.10, the second argument was types as uint32_t.
1059 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=7040
1061 #: build/C/man2/inotify_rm_watch.2:37
1062 msgid "B<int inotify_rm_watch(int >I<fd>B<, int >I<wd>B<);>"
1066 #: build/C/man2/inotify_rm_watch.2:43
1068 "B<inotify_rm_watch>() removes the watch associated with the watch "
1069 "descriptor I<wd> from the inotify instance associated with the file "
1074 #: build/C/man2/inotify_rm_watch.2:49
1076 "Removing a watch causes an B<IN_IGNORED> event to be generated for this "
1077 "watch descriptor. (See B<inotify>(7).)"
1081 #: build/C/man2/inotify_rm_watch.2:55
1083 "On success, B<inotify_rm_watch>() returns zero, or -1 if an error occurred "
1084 "(in which case, I<errno> is set appropriately)."
1088 #: build/C/man2/inotify_rm_watch.2:60
1089 msgid "I<fd> is not a valid file descriptor."
1093 #: build/C/man2/inotify_rm_watch.2:67
1095 "The watch descriptor I<wd> is not valid; or I<fd> is not an inotify file "
1100 #: build/C/man2/inotify_rm_watch.2:75
1101 msgid "B<inotify_add_watch>(2), B<inotify_init>(2), B<inotify>(7)"