Debian Codegraph @

templates/man3/readdir_r.3.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:39+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 "readdir_r"
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 "readdir_r - read a directory"
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>dirent.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<[[deprecated]] int readdir_r(DIR *restrict >I<dirp>B<,>\n"
85 "B< struct dirent *restrict >I<entry>B<,>\n"
86 "B< struct dirent **restrict >I<result>B<);>\n"
87 msgstr ""
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 msgid ""
93 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
94 msgstr ""
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid "B<readdir_r>():"
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 #, no-wrap
106 msgid ""
107 " _POSIX_C_SOURCE\n"
108 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
109 msgstr ""
110
111 #. type: SH
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid "DESCRIPTION"
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 "This function is deprecated; use B<readdir>(3) instead."
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "The B<readdir_r>() function was invented as a reentrant version of "
129 "B<readdir>(3). It reads the next directory entry from the directory stream "
130 "I<dirp>, and returns it in the caller-allocated buffer pointed to by "
131 "I<entry>. For details of the I<dirent> structure, see B<readdir>(3)."
132 msgstr ""
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "A pointer to the returned buffer is placed in I<*result>; if the end of the "
139 "directory stream was encountered, then NULL is instead returned in "
140 "I<*result>."
141 msgstr ""
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid ""
147 "It is recommended that applications use B<readdir>(3) instead of "
148 "B<readdir_r>(). Furthermore, since glibc 2.24, glibc deprecates "
149 "B<readdir_r>(). The reasons are as follows:"
150 msgstr ""
151
152 #. type: IP
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "\\[bu]"
157 msgstr ""
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid ""
163 "On systems where B<NAME_MAX> is undefined, calling B<readdir_r>() may be "
164 "unsafe because the interface does not allow the caller to specify the length "
165 "of the buffer used for the returned directory entry."
166 msgstr ""
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "On some systems, B<readdir_r>() can't read directory entries with very long "
173 "names. When the glibc implementation encounters such a name, "
174 "B<readdir_r>() fails with the error B<ENAMETOOLONG> I<after the final "
175 "directory entry has been read>. On some other systems, B<readdir_r>() may "
176 "return a success status, but the returned I<d_name> field may not be null "
177 "terminated or may be truncated."
178 msgstr ""
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "In the current POSIX.1 specification (POSIX.1-2008), B<readdir>(3) is not "
185 "required to be thread-safe. However, in modern implementations (including "
186 "the glibc implementation), concurrent calls to B<readdir>(3) that specify "
187 "different directory streams are thread-safe. Therefore, the use of "
188 "B<readdir_r>() is generally unnecessary in multithreaded programs. In "
189 "cases where multiple threads must read from the same directory stream, using "
190 "B<readdir>(3) with external synchronization is still preferable to the use "
191 "of B<readdir_r>(), for the reasons given in the points above."
192 msgstr ""
193
194 #. FIXME .
195 #. http://www.austingroupbugs.net/view.php?id=696
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "It is expected that a future version of POSIX.1 will make B<readdir_r>() "
201 "obsolete, and require that B<readdir>(3) be thread-safe when concurrently "
202 "employed on different directory streams."
203 msgstr ""
204
205 #. type: SH
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "RETURN VALUE"
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 B<readdir_r>() function returns 0 on success. On error, it returns a "
217 "positive error number (listed under ERRORS). If the end of the directory "
218 "stream is reached, B<readdir_r>() returns 0, and returns NULL in I<*result>."
219 msgstr ""
220
221 #. type: SH
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "ERRORS"
226 msgstr ""
227
228 #. type: TP
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "B<EBADF>"
233 msgstr ""
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 msgid "Invalid directory stream descriptor I<dirp>."
239 msgstr ""
240
241 #. type: TP
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "B<ENAMETOOLONG>"
246 msgstr ""
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 msgid "A directory entry whose name was too long to be read was encountered."
252 msgstr ""
253
254 #. type: SH
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "ATTRIBUTES"
259 msgstr ""
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "For an explanation of the terms used in this section, see B<attributes>(7)."
266 msgstr ""
267
268 #. type: tbl table
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "Interface"
273 msgstr ""
274
275 #. type: tbl table
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "Attribute"
280 msgstr ""
281
282 #. type: tbl table
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "Value"
287 msgstr ""
288
289 #. type: tbl table
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid ".na\n"
294 msgstr ""
295
296 #. type: tbl table
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid ".nh\n"
301 msgstr ""
302
303 #. type: tbl table
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "B<readdir_r>()"
308 msgstr ""
309
310 #. type: tbl table
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "Thread safety"
315 msgstr ""
316
317 #. type: tbl table
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "MT-Safe"
322 msgstr ""
323
324 #. type: SH
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid "STANDARDS"
329 msgstr ""
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid "POSIX.1-2008."
335 msgstr ""
336
337 #. type: SH
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "HISTORY"
342 msgstr ""
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 msgid "POSIX.1-2001."
348 msgstr ""
349
350 #. type: SH
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "SEE ALSO"
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid "B<readdir>(3)"
361 msgstr ""
362
363 #. type: TH
364 #: debian-trixie
365 #, no-wrap
366 msgid "2024-05-02"
367 msgstr ""
368
369 #. type: TH
370 #: debian-trixie
371 #, no-wrap
372 msgid "Linux man-pages 6.9.1"
373 msgstr ""
374
375 #. type: Plain text
376 #: debian-trixie
377 msgid "Standard C library (I<libc>, I<-lc>)"
378 msgstr ""
379
380 #. type: TH
381 #: fedora-44 fedora-rawhide
382 #, no-wrap
383 msgid "2024-07-23"
384 msgstr ""
385
386 #. type: TH
387 #: fedora-44 fedora-rawhide
388 #, no-wrap
389 msgid "Linux man-pages 6.13"
390 msgstr ""
391
392 #. type: TH
393 #: mageia-cauldron
394 #, no-wrap
395 msgid "Linux man-pages 6.17"
396 msgstr ""
397
398 #. type: TH
399 #: opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "Linux man-pages (unreleased)"
402 msgstr ""