Debian Codegraph @

templates/man2/inotify_add_watch.2.pot

raw
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.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:27+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "inotify_add_watch"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "inotify_add_watch - add a watch to an initialized inotify instance"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>sys/inotify.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
81 #: opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<int inotify_add_watch(int >I<fd>B<, const char *>I<path>B<, uint32_t >I<mask>B<);>\n"
84 msgstr ""
85
86 #. type: SH
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "DESCRIPTION"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
95 #: opensuse-tumbleweed
96 msgid ""
97 "B<inotify_add_watch>() adds a new watch, or modifies an existing watch, for "
98 "the file whose location is specified in I<path>; the caller must have read "
99 "permission for this file. The I<fd> argument is a file descriptor referring "
100 "to the inotify instance whose watch list is to be modified. The events to "
101 "be monitored for I<path> are specified in the I<mask> bit-mask argument. "
102 "See B<inotify>(7) for a description of the bits that can be set in I<mask>."
103 msgstr ""
104
105 #. type: Plain text
106 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
107 #: opensuse-tumbleweed
108 msgid ""
109 "A successful call to B<inotify_add_watch>() returns a unique watch "
110 "descriptor for this inotify instance, for the filesystem object (inode) that "
111 "corresponds to I<path>. If the filesystem object was not previously being "
112 "watched by this inotify instance, then the watch descriptor is newly "
113 "allocated. If the filesystem object was already being watched (perhaps via "
114 "a different link to the same object), then the descriptor for the existing "
115 "watch is returned."
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "The watch descriptor is returned by later B<read>(2)s from the inotify file "
123 "descriptor. These reads fetch I<inotify_event> structures (see "
124 "B<inotify>(7)) indicating filesystem events; the watch descriptor inside "
125 "this structure identifies the object for which the event occurred."
126 msgstr ""
127
128 #. type: SH
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 #, no-wrap
132 msgid "RETURN VALUE"
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "On success, B<inotify_add_watch>() returns a watch descriptor (a "
140 "nonnegative integer). On error, -1 is returned and I<errno> is set to "
141 "indicate the error."
142 msgstr ""
143
144 #. type: SH
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, no-wrap
148 msgid "ERRORS"
149 msgstr ""
150
151 #. type: TP
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid "B<EACCES>"
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid "Read access to the given file is not permitted."
162 msgstr ""
163
164 #. type: TP
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "B<EBADF>"
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid "The given file descriptor is not valid."
175 msgstr ""
176
177 #. type: TP
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 #, no-wrap
181 msgid "B<EEXIST>"
182 msgstr ""
183
184 #. type: Plain text
185 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
186 #: opensuse-tumbleweed
187 msgid ""
188 "I<mask> contains B<IN_MASK_CREATE> and I<path> refers to a file already "
189 "being watched by the same I<fd>."
190 msgstr ""
191
192 #. type: TP
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 #, no-wrap
196 msgid "B<EFAULT>"
197 msgstr ""
198
199 #. type: Plain text
200 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
201 #: opensuse-tumbleweed
202 msgid "I<path> points outside of the process's accessible address space."
203 msgstr ""
204
205 #. type: TP
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "B<EINVAL>"
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "The given event mask contains no valid events; or I<mask> contains both "
217 "B<IN_MASK_ADD> and B<IN_MASK_CREATE>; or I<fd> is not an inotify file "
218 "descriptor."
219 msgstr ""
220
221 #. type: TP
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "B<ENAMETOOLONG>"
226 msgstr ""
227
228 #. type: Plain text
229 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
230 #: opensuse-tumbleweed
231 msgid "I<path> is too long."
232 msgstr ""
233
234 #. type: TP
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "B<ENOENT>"
239 msgstr ""
240
241 #. type: Plain text
242 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
243 #: opensuse-tumbleweed
244 msgid ""
245 "A directory component in I<path> does not exist or is a dangling symbolic "
246 "link."
247 msgstr ""
248
249 #. type: TP
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 #, no-wrap
253 msgid "B<ENOMEM>"
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid "Insufficient kernel memory was available."
260 msgstr ""
261
262 #. type: TP
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "B<ENOSPC>"
267 msgstr ""
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid ""
273 "The user limit on the total number of inotify watches was reached or the "
274 "kernel failed to allocate a needed resource."
275 msgstr ""
276
277 #. type: TP
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "B<ENOTDIR>"
282 msgstr ""
283
284 #. type: Plain text
285 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
286 #: opensuse-tumbleweed
287 msgid "I<mask> contains B<IN_ONLYDIR> and I<path> is not a directory."
288 msgstr ""
289
290 #. type: SH
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "STANDARDS"
295 msgstr ""
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid "Linux."
301 msgstr ""
302
303 #. type: SH
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "HISTORY"
308 msgstr ""
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid "Linux 2.6.13."
314 msgstr ""
315
316 #. type: SH
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "EXAMPLES"
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 msgid "See B<inotify>(7)."
327 msgstr ""
328
329 #. type: SH
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "SEE ALSO"
334 msgstr ""
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 msgid "B<inotify_init>(2), B<inotify_rm_watch>(2), B<inotify>(7)"
340 msgstr ""
341
342 #. type: TH
343 #: debian-trixie
344 #, no-wrap
345 msgid "2024-05-02"
346 msgstr ""
347
348 #. type: TH
349 #: debian-trixie
350 #, no-wrap
351 msgid "Linux man-pages 6.9.1"
352 msgstr ""
353
354 #. type: Plain text
355 #: debian-trixie
356 msgid "Standard C library (I<libc>, I<-lc>)"
357 msgstr ""
358
359 #. type: Plain text
360 #: debian-trixie fedora-44 fedora-rawhide
361 #, no-wrap
362 msgid "B<int inotify_add_watch(int >I<fd>B<, const char *>I<pathname>B<, uint32_t >I<mask>B<);>\n"
363 msgstr ""
364
365 #. type: Plain text
366 #: debian-trixie fedora-44 fedora-rawhide
367 msgid ""
368 "B<inotify_add_watch>() adds a new watch, or modifies an existing watch, for "
369 "the file whose location is specified in I<pathname>; the caller must have "
370 "read permission for this file. The I<fd> argument is a file descriptor "
371 "referring to the inotify instance whose watch list is to be modified. The "
372 "events to be monitored for I<pathname> are specified in the I<mask> bit-mask "
373 "argument. See B<inotify>(7) for a description of the bits that can be set "
374 "in I<mask>."
375 msgstr ""
376
377 #. type: Plain text
378 #: debian-trixie fedora-44 fedora-rawhide
379 msgid ""
380 "A successful call to B<inotify_add_watch>() returns a unique watch "
381 "descriptor for this inotify instance, for the filesystem object (inode) that "
382 "corresponds to I<pathname>. If the filesystem object was not previously "
383 "being watched by this inotify instance, then the watch descriptor is newly "
384 "allocated. If the filesystem object was already being watched (perhaps via "
385 "a different link to the same object), then the descriptor for the existing "
386 "watch is returned."
387 msgstr ""
388
389 #. type: Plain text
390 #: debian-trixie fedora-44 fedora-rawhide
391 msgid ""
392 "I<mask> contains B<IN_MASK_CREATE> and I<pathname> refers to a file already "
393 "being watched by the same I<fd>."
394 msgstr ""
395
396 #. type: Plain text
397 #: debian-trixie fedora-44 fedora-rawhide
398 msgid "I<pathname> points outside of the process's accessible address space."
399 msgstr ""
400
401 #. type: Plain text
402 #: debian-trixie fedora-44 fedora-rawhide
403 msgid "I<pathname> is too long."
404 msgstr ""
405
406 #. type: Plain text
407 #: debian-trixie fedora-44 fedora-rawhide
408 msgid ""
409 "A directory component in I<pathname> does not exist or is a dangling "
410 "symbolic link."
411 msgstr ""
412
413 #. type: Plain text
414 #: debian-trixie fedora-44 fedora-rawhide
415 msgid "I<mask> contains B<IN_ONLYDIR> and I<pathname> is not a directory."
416 msgstr ""
417
418 #. type: TH
419 #: fedora-44 fedora-rawhide
420 #, no-wrap
421 msgid "2024-07-23"
422 msgstr ""
423
424 #. type: TH
425 #: fedora-44 fedora-rawhide
426 #, no-wrap
427 msgid "Linux man-pages 6.13"
428 msgstr ""
429
430 #. type: TH
431 #: mageia-cauldron
432 #, no-wrap
433 msgid "Linux man-pages 6.17"
434 msgstr ""
435
436 #. type: TH
437 #: opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid "Linux man-pages (unreleased)"
440 msgstr ""