Lines Matching full:watch
47 int wd; /* Watch descriptor */
98 To watch a file or directory, the
103 They take a path and a mask of events to watch for, and return a
104 .Dq watch descriptor ,
110 system call removes a watch from an inotify descriptor.
179 When a watch is removed from a file, for example because it was created with the
181 flag, the file was deleted, or the watch was explicitly removed with
183 an event with this mask is generated to indicate that the watch will not
185 Once this event is generated, the watch is automatically removed, and in
214 When adding a watch to an object, and that object is already watched by the
215 same inotify descriptor, by default the mask of the existing watch is
219 is specified, the mask of the existing watch is instead logically ORed with
223 .Fn inotify_add watch
224 is used to add a watch to an object,
227 return an error instead of updating the existing watch.
229 Monitor the object for a single event, after which the watch is automatically
235 When creating a watch, fail with
345 parameter is not a valid watch descriptor.