Debian Codegraph @

templates/man3/ptsname.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:38+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 "ptsname"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-10-29"
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 "ptsname, ptsname_r - get the name of the slave pseudoterminal"
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>stdlib.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 ""
84 "B<char *ptsname(int >I<fd>B<);>\n"
85 "B<int ptsname_r(>size_t size;\n"
86 "B< int >I<fd>B<, char >I<buf>B<[>I<size>B<], size_t >I<size>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: TP
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 #, no-wrap
100 msgid "B<ptsname>():"
101 msgstr ""
102
103 #. || (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED)
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid ""
109 " Since glibc 2.24:\n"
110 " _XOPEN_SOURCE E<gt>= 500\n"
111 " glibc 2.23 and earlier:\n"
112 " _XOPEN_SOURCE\n"
113 msgstr ""
114
115 #. #-#-#-#-# archlinux: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
116 #. type: TP
117 #. #-#-#-#-# debian-trixie: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
118 #. type: Plain text
119 #. #-#-#-#-# debian-unstable: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
120 #. type: TP
121 #. #-#-#-#-# fedora-44: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
122 #. type: Plain text
123 #. #-#-#-#-# fedora-rawhide: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
124 #. type: Plain text
125 #. #-#-#-#-# mageia-cauldron: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
126 #. type: TP
127 #. #-#-#-#-# opensuse-leap-16-1: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
128 #. type: TP
129 #. #-#-#-#-# opensuse-tumbleweed: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
130 #. type: TP
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, no-wrap
134 msgid "B<ptsname_r>():"
135 msgstr ""
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 #, no-wrap
141 msgid " _GNU_SOURCE\n"
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 "DESCRIPTION"
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "The B<ptsname>() function returns the name of the slave pseudoterminal "
156 "device corresponding to the master referred to by the file descriptor I<fd>."
157 msgstr ""
158
159 #. type: Plain text
160 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
161 #: opensuse-leap-16-1 opensuse-tumbleweed
162 msgid ""
163 "The B<ptsname_r>() function is the reentrant equivalent of B<ptsname>(). "
164 "It returns the name of the slave pseudoterminal device as a null-terminated "
165 "string in the buffer pointed to by I<buf>. The I<size> argument specifies "
166 "the number of bytes available in I<buf>."
167 msgstr ""
168
169 #. type: SH
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid "RETURN VALUE"
174 msgstr ""
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "On success, B<ptsname>() returns a pointer to a string in static storage "
181 "which will be overwritten by subsequent calls. This pointer must not be "
182 "freed. On failure, NULL is returned."
183 msgstr ""
184
185 #. #-#-#-#-# archlinux: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
186 #. In glibc, the error number is not only returned as the return value
187 #. but also stored in errno. But this is not true for musl libc.
188 #. type: Plain text
189 #. #-#-#-#-# debian-trixie: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
190 #. In glibc, the error number is not only returned as the return value
191 #. but also stored in errno. But this is not true for musl libc.
192 #. type: Plain text
193 #. #-#-#-#-# debian-unstable: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
194 #. In glibc, the error number is not only returned as the return value
195 #. but also stored in errno. But this is not true for musl libc.
196 #. type: Plain text
197 #. #-#-#-#-# fedora-44: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
198 #. In glibc, the error number is not only returned as the return value
199 #. but also stored in errno. But this is not true for musl libc.
200 #. type: Plain text
201 #. #-#-#-#-# fedora-rawhide: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
202 #. In glibc, the error number is not only returned as the return value
203 #. but also stored in errno. But this is not true for musl libc.
204 #. type: Plain text
205 #. #-#-#-#-# mageia-cauldron: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
206 #. In glibc, the error number is not only returned as the return value
207 #. but also stored in errno. But this is not true for musl libc.
208 #. type: Plain text
209 #. #-#-#-#-# opensuse-leap-16-1: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
210 #. In glibc, the error number is not only returned as the return value
211 #. but also stored in errno. But this is not true for musl libc.
212 #. type: Plain text
213 #. #-#-#-#-# opensuse-tumbleweed: ptsname.3.pot (PACKAGE VERSION) #-#-#-#-#
214 #. In glibc, the error number is not only returned as the return value
215 #. but also stored in errno. But this is not true for musl libc.
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "On success, B<ptsname_r>() returns 0. On failure, an error number is "
221 "returned 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<EINVAL>"
236 msgstr ""
237
238 #. glibc commit 8f0a947cf55f3b0c4ebdf06953c57eff67a22fa9
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "(B<ptsname_r>() only) I<buf> is NULL. (This error is returned only for "
244 "glibc 2.25 and earlier.)"
245 msgstr ""
246
247 #. type: TP
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "B<ENOTTY>"
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid "I<fd> does not refer to a pseudoterminal master device."
258 msgstr ""
259
260 #. type: TP
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "B<ERANGE>"
265 msgstr ""
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid "(B<ptsname_r>() only) I<buf> is too small."
271 msgstr ""
272
273 #. type: SH
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "ATTRIBUTES"
278 msgstr ""
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid ""
284 "For an explanation of the terms used in this section, see B<attributes>(7)."
285 msgstr ""
286
287 #. type: tbl table
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "Interface"
292 msgstr ""
293
294 #. type: tbl table
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "Attribute"
299 msgstr ""
300
301 #. type: tbl table
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "Value"
306 msgstr ""
307
308 #. type: tbl table
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid ".na\n"
313 msgstr ""
314
315 #. type: tbl table
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid ".nh\n"
320 msgstr ""
321
322 #. type: tbl table
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "B<ptsname>()"
327 msgstr ""
328
329 #. type: tbl table
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "Thread safety"
334 msgstr ""
335
336 #. type: tbl table
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid "MT-Unsafe race:ptsname"
341 msgstr ""
342
343 #. type: tbl table
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "B<ptsname_r>()"
348 msgstr ""
349
350 #. type: tbl table
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "MT-Safe"
355 msgstr ""
356
357 #. type: SH
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "VERSIONS"
362 msgstr ""
363
364 #. type: Plain text
365 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
366 #: opensuse-tumbleweed
367 msgid ""
368 "A version of B<ptsname_r>() is documented on Tru64, HP-UX, and FreeBSD, but "
369 "on those implementations, -1 is returned on error, with I<errno> set to "
370 "indicate the error. Avoid using this function in portable programs."
371 msgstr ""
372
373 #. type: SH
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 #, no-wrap
377 msgid "STANDARDS"
378 msgstr ""
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 msgid "POSIX.1-2008."
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
388 #: opensuse-tumbleweed
389 msgid "POSIX.1-2024."
390 msgstr ""
391
392 #. type: SH
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "HISTORY"
397 msgstr ""
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid "POSIX.1-2001. glibc 2.1."
403 msgstr ""
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 msgid ""
409 "B<ptsname>() is part of the UNIX 98 pseudoterminal support (see B<pts>(4))."
410 msgstr ""
411
412 #. type: Plain text
413 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
414 #: opensuse-tumbleweed
415 msgid "GNU."
416 msgstr ""
417
418 #. type: SH
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, no-wrap
422 msgid "SEE ALSO"
423 msgstr ""
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 msgid ""
429 "B<grantpt>(3), B<posix_openpt>(3), B<ttyname>(3), B<unlockpt>(3), B<pts>(4), "
430 "B<pty>(7)"
431 msgstr ""
432
433 #. type: TH
434 #: debian-trixie
435 #, no-wrap
436 msgid "2024-05-02"
437 msgstr ""
438
439 #. type: TH
440 #: debian-trixie
441 #, no-wrap
442 msgid "Linux man-pages 6.9.1"
443 msgstr ""
444
445 #. type: Plain text
446 #: debian-trixie
447 msgid "Standard C library (I<libc>, I<-lc>)"
448 msgstr ""
449
450 #. type: Plain text
451 #: debian-trixie
452 #, no-wrap
453 msgid ""
454 "B<char *ptsname(int >I<fd>B<);>\n"
455 "B<int ptsname_r(int >I<fd>B<, char >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<);>\n"
456 msgstr ""
457
458 #. type: Plain text
459 #: debian-trixie
460 msgid ""
461 "The B<ptsname_r>() function is the reentrant equivalent of B<ptsname>(). "
462 "It returns the name of the slave pseudoterminal device as a null-terminated "
463 "string in the buffer pointed to by I<buf>. The I<buflen> argument specifies "
464 "the number of bytes available in I<buf>."
465 msgstr ""
466
467 #. type: Plain text
468 #: debian-trixie fedora-44 fedora-rawhide
469 msgid ""
470 "A version of B<ptsname_r>() is documented on Tru64 and HP-UX, but on those "
471 "implementations, -1 is returned on error, with I<errno> set to indicate the "
472 "error. Avoid using this function in portable programs."
473 msgstr ""
474
475 #. FIXME . for later review when Issue 8 is one day released
476 #. http://austingroupbugs.net/tag_view_page.php?tag_id=8
477 #. http://austingroupbugs.net/view.php?id=508
478 #. type: Plain text
479 #: debian-trixie fedora-44 fedora-rawhide
480 msgid ""
481 "B<ptsname_r>() is a Linux extension, that is proposed for inclusion in the "
482 "next major revision of POSIX.1 (Issue 8)."
483 msgstr ""
484
485 #. type: TH
486 #: fedora-44 fedora-rawhide
487 #, no-wrap
488 msgid "2024-12-24"
489 msgstr ""
490
491 #. type: TH
492 #: fedora-44 fedora-rawhide
493 #, no-wrap
494 msgid "Linux man-pages 6.13"
495 msgstr ""
496
497 #. type: Plain text
498 #: fedora-44 fedora-rawhide
499 #, no-wrap
500 msgid ""
501 "B<char *ptsname(int >I<fd>B<);>\n"
502 "B<int ptsname_r(int >I<fd>B<, char >I<buf>B<[.>I<size>B<], size_t >I<size>B<);>\n"
503 msgstr ""
504
505 #. type: TH
506 #: mageia-cauldron
507 #, no-wrap
508 msgid "Linux man-pages 6.17"
509 msgstr ""
510
511 #. type: TH
512 #: opensuse-leap-16-1 opensuse-tumbleweed
513 #, no-wrap
514 msgid "Linux man-pages (unreleased)"
515 msgstr ""