Debian Codegraph @

templates/man3/tempnam.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:48+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 "tempnam"
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 "tempnam - create a name for a temporary file"
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>stdio.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 "B<char *tempnam(const char *>I<dir>B<, const char *>I<pfx>B<);>\n"
84 msgstr ""
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 msgid ""
90 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid "B<tempnam>():"
97 msgstr ""
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid ""
104 " Since glibc 2.19:\n"
105 " _DEFAULT_SOURCE\n"
106 " glibc 2.19 and earlier:\n"
107 " _BSD_SOURCE || _SVID_SOURCE\n"
108 msgstr ""
109
110 #. type: SH
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr ""
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "I<Never use this function.> Use B<mkstemp>(3) or B<tmpfile>(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<tempnam>() function returns a pointer to a string that is a valid "
129 "filename, and such that a file with this name did not exist when "
130 "B<tempnam>() checked. The filename suffix of the pathname generated will "
131 "start with I<pfx> in case I<pfx> is a non-NULL string of at most five "
132 "bytes. The directory prefix part of the pathname generated is required to "
133 "be \"appropriate\" (often that at least implies writable)."
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "Attempts to find an appropriate directory go through the following steps:"
141 msgstr ""
142
143 #. type: IP
144 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
145 #: opensuse-tumbleweed
146 #, no-wrap
147 msgid "(1)"
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "In case the environment variable B<TMPDIR> exists and contains the name of "
155 "an appropriate directory, that is used."
156 msgstr ""
157
158 #. type: IP
159 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
160 #: opensuse-tumbleweed
161 #, no-wrap
162 msgid "(2)"
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "Otherwise, if the I<dir> argument is non-NULL and appropriate, it is used."
170 msgstr ""
171
172 #. type: IP
173 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
174 #: opensuse-tumbleweed
175 #, no-wrap
176 msgid "(3)"
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "Otherwise, I<P_tmpdir> (as defined in I<E<lt>stdio.hE<gt>>) is used when "
184 "appropriate."
185 msgstr ""
186
187 #. type: IP
188 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
189 #: opensuse-tumbleweed
190 #, no-wrap
191 msgid "(4)"
192 msgstr ""
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid "Finally an implementation-defined directory may be used."
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "The string returned by B<tempnam>() is allocated using B<malloc>(3) and "
205 "hence should be freed by B<free>(3)."
206 msgstr ""
207
208 #. type: SH
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "RETURN VALUE"
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "On success, the B<tempnam>() function returns a pointer to a unique "
220 "temporary filename. It returns NULL if a unique name cannot be generated, "
221 "with I<errno> set to indicate the error."
222 msgstr ""
223
224 #. type: SH
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 #, no-wrap
228 msgid "ERRORS"
229 msgstr ""
230
231 #. type: TP
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "B<ENOMEM>"
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid "Allocation of storage failed."
242 msgstr ""
243
244 #. type: SH
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "ATTRIBUTES"
249 msgstr ""
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "For an explanation of the terms used in this section, see B<attributes>(7)."
256 msgstr ""
257
258 #. type: tbl table
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "Interface"
263 msgstr ""
264
265 #. type: tbl table
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "Attribute"
270 msgstr ""
271
272 #. type: tbl table
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "Value"
277 msgstr ""
278
279 #. type: tbl table
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid ".na\n"
284 msgstr ""
285
286 #. type: tbl table
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid ".nh\n"
291 msgstr ""
292
293 #. type: tbl table
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "B<tempnam>()"
298 msgstr ""
299
300 #. type: tbl table
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "Thread safety"
305 msgstr ""
306
307 #. type: tbl table
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "MT-Safe env"
312 msgstr ""
313
314 #. type: SH
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "STANDARDS"
319 msgstr ""
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid "POSIX.1-2008."
325 msgstr ""
326
327 #. type: SH
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "HISTORY"
332 msgstr ""
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid "SVr4, 4.3BSD, POSIX.1-2001. Obsoleted in POSIX.1-2008."
338 msgstr ""
339
340 #. type: SH
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "NOTES"
345 msgstr ""
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "Although B<tempnam>() generates names that are difficult to guess, it is "
352 "nevertheless possible that between the time that B<tempnam>() returns a "
353 "pathname, and the time that the program opens it, another program might "
354 "create that pathname using B<open>(2), or create it as a symbolic link. "
355 "This can lead to security holes. To avoid such possibilities, use the "
356 "B<open>(2) B<O_EXCL> flag to open the pathname. Or better yet, use "
357 "B<mkstemp>(3) or B<tmpfile>(3)."
358 msgstr ""
359
360 #. type: Plain text
361 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
362 #: opensuse-tumbleweed
363 msgid ""
364 "SUSv2 does not mention the use of B<TMPDIR>; glibc will use it only when the "
365 "program is not set-user-ID. On SVr4, the directory used under B<(4)> is I</"
366 "tmp> (and this is what glibc does)."
367 msgstr ""
368
369 #. type: Plain text
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 msgid ""
373 "Because it dynamically allocates memory used to return the pathname, "
374 "B<tempnam>() is reentrant, and thus thread safe, unlike B<tmpnam>(3)."
375 msgstr ""
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid ""
381 "The B<tempnam>() function generates a different string each time it is "
382 "called, up to B<TMP_MAX> (defined in I<E<lt>stdio.hE<gt>>) times. If it is "
383 "called more than B<TMP_MAX> times, the behavior is implementation defined."
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid "B<tempnam>() uses at most the first five bytes from I<pfx>."
390 msgstr ""
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 msgid ""
396 "The glibc implementation of B<tempnam>() fails with the error B<EEXIST> "
397 "upon failure to find a unique name."
398 msgstr ""
399
400 #. type: SH
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "BUGS"
405 msgstr ""
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 msgid ""
411 "The precise meaning of \"appropriate\" is undefined; it is unspecified how "
412 "accessibility of a directory is determined."
413 msgstr ""
414
415 #. type: SH
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 #, no-wrap
419 msgid "SEE ALSO"
420 msgstr ""
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid "B<mkstemp>(3), B<mktemp>(3), B<tmpfile>(3), B<tmpnam>(3)"
426 msgstr ""
427
428 #. type: TH
429 #: debian-trixie
430 #, no-wrap
431 msgid "2024-05-02"
432 msgstr ""
433
434 #. type: TH
435 #: debian-trixie
436 #, no-wrap
437 msgid "Linux man-pages 6.9.1"
438 msgstr ""
439
440 #. type: Plain text
441 #: debian-trixie
442 msgid "Standard C library (I<libc>, I<-lc>)"
443 msgstr ""
444
445 #. type: TP
446 #: debian-trixie fedora-44 fedora-rawhide
447 #, no-wrap
448 msgid "a)"
449 msgstr ""
450
451 #. type: TP
452 #: debian-trixie fedora-44 fedora-rawhide
453 #, no-wrap
454 msgid "b)"
455 msgstr ""
456
457 #. type: TP
458 #: debian-trixie fedora-44 fedora-rawhide
459 #, no-wrap
460 msgid "c)"
461 msgstr ""
462
463 #. type: TP
464 #: debian-trixie fedora-44 fedora-rawhide
465 #, no-wrap
466 msgid "d)"
467 msgstr ""
468
469 #. type: Plain text
470 #: debian-trixie fedora-44 fedora-rawhide
471 msgid ""
472 "SUSv2 does not mention the use of B<TMPDIR>; glibc will use it only when the "
473 "program is not set-user-ID. On SVr4, the directory used under B<d)> is I</"
474 "tmp> (and this is what glibc does)."
475 msgstr ""
476
477 #. type: TH
478 #: fedora-44 fedora-rawhide
479 #, no-wrap
480 msgid "2024-07-23"
481 msgstr ""
482
483 #. type: TH
484 #: fedora-44 fedora-rawhide
485 #, no-wrap
486 msgid "Linux man-pages 6.13"
487 msgstr ""
488
489 #. type: TH
490 #: mageia-cauldron
491 #, no-wrap
492 msgid "Linux man-pages 6.17"
493 msgstr ""
494
495 #. type: TH
496 #: opensuse-leap-16-1 opensuse-tumbleweed
497 #, no-wrap
498 msgid "Linux man-pages (unreleased)"
499 msgstr ""