Debian Codegraph @

po/pt_BR/man3/getlogin.3.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Felipe M Pereira <[email protected]>, 2001.
5 # André Luiz Fassone <[email protected]>, 2001.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
10 "PO-Revision-Date: 2001-06-02 19:20-0300\n"
11 "Last-Translator: André Luiz Fassone <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19 "X-Generator: Virtaal 1.0.0-beta1\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, fuzzy, no-wrap
25 #| msgid "B<getlogin>()"
26 msgid "getlogin"
27 msgstr "B<getlogin>()"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8 fevereiro 2026"
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, fuzzy, no-wrap
39 #| msgid "Linux man-pages 6.17"
40 msgid "Linux man-pages 6.18"
41 msgstr "Linux man-pages 6.17"
42
43 #. type: SH
44 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
45 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
46 #, no-wrap
47 msgid "NAME"
48 msgstr "NOME"
49
50 #. type: Plain text
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 msgid "getlogin, getlogin_r, cuserid - get username"
54 msgstr "getlogin, getlogin_r, cuserid - obtém nome do usuário"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTECA"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "SINOPSE"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>unistd.hE<gt>>\n"
81 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
85 #: opensuse-tumbleweed
86 #, fuzzy, no-wrap
87 #| msgid "B<int getlogin_r(char *>I<buf>B<, size_t >I<bufsize>B<);>"
88 msgid ""
89 "B<char *getlogin(void);>\n"
90 "B<int getlogin_r(>size_t bufsize;\n"
91 "B< char >I<buf>B<[>I<bufsize>B<], size_t >I<bufsize>B<);>\n"
92 msgstr "B<int getlogin_r(char *>I<buf>B<, size_t >I<bufsize>B<);>"
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid "B<#include E<lt>stdio.hE<gt>>\n"
99 msgstr "B<#include E<lt>stdio.hE<gt>>\n"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, fuzzy, no-wrap
105 #| msgid "B<char *cuserid(char *>I<string>B<);>"
106 msgid "B<char *cuserid(char *>I<string>B<);>\n"
107 msgstr "B<char *cuserid(char *>I<string>B<);>"
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 msgid ""
113 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
114 msgstr ""
115 "Requisitos de macro de teste de recursos para o glibc (consulte "
116 "B<feature_test_macros>(7)):"
117
118 #. type: TQ
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 #, fuzzy, no-wrap
122 #| msgid "B<getlogin_r>()"
123 msgid "B<getlogin_r>():"
124 msgstr "B<getlogin_r>()"
125
126 #. Deprecated: _REENTRANT ||
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, fuzzy, no-wrap
131 #| msgid "_POSIX_C_SOURCE\\ E<gt>=\\ 200112L"
132 msgid " _POSIX_C_SOURCE E<gt>= 199506L\n"
133 msgstr "_POSIX_C_SOURCE\\ E<gt>=\\ 200112L"
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 "B<cuserid>():"
139 msgstr "B<cuserid>():"
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, fuzzy, no-wrap
145 #| msgid ""
146 #| " Since glibc 2.24:\n"
147 #| " (_XOPEN_SOURCE && ! (_POSIX_C_SOURCE E<gt>= 200112L)\n"
148 #| " || _GNU_SOURCE\n"
149 #| " Up to and including glibc 2.23:\n"
150 #| " _XOPEN_SOURCE\n"
151 msgid ""
152 " Since glibc 2.24:\n"
153 " (_XOPEN_SOURCE && ! (_POSIX_C_SOURCE E<gt>= 200112L)\n"
154 " || _GNU_SOURCE\n"
155 " Up to and including glibc 2.23:\n"
156 " _XOPEN_SOURCE\n"
157 msgstr ""
158 " Desde o glibc 2.24:\n"
159 " (_XOPEN_SOURCE && ! (_POSIX_C_SOURCE E<gt>= 200112L)\n"
160 " || _GNU_SOURCE\n"
161 " Até e incluindo o glibc 2.23:\n"
162 " _XOPEN_SOURCE\n"
163
164 #. type: SH
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "DESCRIPTION"
169 msgstr "DESCRIÇÃO"
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 ""
175 "B<getlogin>() returns a pointer to a string containing the name of the user "
176 "logged in on the controlling terminal of the process, or a null pointer if "
177 "this information cannot be determined. The string is statically allocated "
178 "and might be overwritten on subsequent calls to this function or to "
179 "B<cuserid>()."
180 msgstr ""
181 "B<getlogin>() retorna um ponteiro para uma string contendo o nome do usuário "
182 "logado no terminal controlador do processo, ou um ponteiro nulo se esta "
183 "informação não puder ser determinada. A string é alocada estaticamente e "
184 "pode ser sobrescrita nas chamadas subseqüentes a esta função ou a "
185 "B<cuserid>()."
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid ""
191 "B<getlogin_r>() returns this same username in the array I<buf> of size "
192 "I<bufsize>."
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "B<cuserid>() returns a pointer to a string containing a username associated "
200 "with the effective user ID of the process. If I<string> is not a null "
201 "pointer, it should be an array that can hold at least B<L_cuserid> "
202 "characters; the string is returned in this array. Otherwise, a pointer to a "
203 "string in a static area is returned. This string is statically allocated "
204 "and might be overwritten on subsequent calls to this function or to "
205 "B<getlogin>()."
206 msgstr ""
207 "B<cuserid>() retorna um ponteiro para um string contendo um nome de usuário "
208 "associado com o ID efetivo de usuário do processo. Se I<string> não é um "
209 "ponteiro nulo, deve ser um array que pode suportar no mínimo B<L_cuserid> "
210 "caracteres; a string é retornada neste array. Caso contrário,um ponteiro "
211 "para uma string numa área estática é retornada. Esta string é alocada "
212 "estaticamente e pode ser sobrescrita em chamadas subseqüentes para esta "
213 "função ou para B<getlogin>()."
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 "The macro B<L_cuserid> is an integer constant that indicates how long an "
220 "array you might need to store a username. B<L_cuserid> is declared in "
221 "I<E<lt>stdio.hE<gt>>."
222 msgstr ""
223 "A macro B<L_cuserid> é uma constante inteira que indica quão grande é um "
224 "array que você pode precisar para guardar um nome de usuário. B<L_cuserid> "
225 "está declarado em I<E<lt>stdio.hE<gt>>."
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, fuzzy
231 #| msgid ""
232 #| "These functions let your program identify positively the user who is "
233 #| "running (B<cuserid>) or the user who logged in this session "
234 #| "(B<getlogin>). (These can differ when setuid programs are involved.)"
235 msgid ""
236 "These functions let your program identify positively the user who is running "
237 "(B<cuserid>()) or the user who logged in this session (B<getlogin>()). "
238 "(These can differ when set-user-ID programs are involved.)"
239 msgstr ""
240 "Estas funções permitem ao seu programa identificar positivamente o usuário "
241 "que está executando (B<cuserid>) ou o usuário que logou nesta sessão "
242 "(B<getlogin>). (Podem diferir quando programas setuid estão envolvidos.)"
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid ""
248 "For most purposes, it is more useful to use the environment variable "
249 "B<LOGNAME> to find out who the user is. This is more flexible precisely "
250 "because the user can set B<LOGNAME> arbitrarily."
251 msgstr ""
252 "Para a maioria dos objetivos, é mais útil usar a variável de ambiente "
253 "B<LOGNAME> para descobrir quem o usuário é. Isto é mais flexível "
254 "precisamente porque o usuário pode definir B<LOGNAME> arbitrariamente."
255
256 #. type: SH
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "RETURN VALUE"
261 msgstr "VALOR DE RETORNO"
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "B<getlogin>() returns a pointer to the username when successful, and NULL "
268 "on failure, with I<errno> set to indicate the error. B<getlogin_r>() "
269 "returns 0 when successful, and nonzero on failure."
270 msgstr ""
271
272 #. type: SH
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "ERRORS"
277 msgstr "ERROS"
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 msgid "POSIX specifies:"
283 msgstr ""
284
285 #. type: TP
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "B<EMFILE>"
290 msgstr "B<EMFILE>"
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid ""
296 "The per-process limit on the number of open file descriptors has been "
297 "reached."
298 msgstr ""
299 "O limite por processo no número de descritores de arquivo abertos foi "
300 "alcançado."
301
302 #. type: TP
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "B<ENFILE>"
307 msgstr "B<ENFILE>"
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "The system-wide limit on the total number of open files has been reached."
314 msgstr ""
315 "O limite para todo o sistema no número total de arquivos abertos foi "
316 "alcançado."
317
318 #. type: TP
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 #, no-wrap
322 msgid "B<ENXIO>"
323 msgstr "B<ENXIO>"
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid "The calling process has no controlling terminal."
329 msgstr ""
330
331 #. type: TP
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "B<ERANGE>"
336 msgstr "B<ERANGE>"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid ""
342 "(getlogin_r) The length of the username, including the terminating null "
343 "byte (B<\\[aq]\\[rs]0\\[aq]>), is larger than I<bufsize>."
344 msgstr ""
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid "Linux/glibc also has:"
350 msgstr ""
351
352 #. type: TP
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "B<ENOENT>"
357 msgstr "B<ENOENT>"
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid "There was no corresponding entry in the utmp-file."
363 msgstr ""
364
365 #. type: TP
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "B<ENOMEM>"
370 msgstr "B<ENOMEM>"
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid "Insufficient memory to allocate passwd structure."
376 msgstr "Memória insuficiente para alocar a estrutura 'passwd'."
377
378 #. type: TP
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, no-wrap
382 msgid "B<ENOTTY>"
383 msgstr "B<ENOTTY>"
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid "Standard input didn't refer to a terminal. (See BUGS.)"
389 msgstr ""
390
391 #. type: SH
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "FILES"
396 msgstr "ARQUIVOS"
397
398 #. type: TP
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 #, no-wrap
402 msgid "I</etc/passwd>"
403 msgstr "I</etc/passwd>"
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 "password database file"
409 msgstr "arquivo de banco de dados de senha."
410
411 #. type: TP
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 #, no-wrap
415 msgid "I</var/run/utmp>"
416 msgstr "I</var/run/utmp>"
417
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 msgid "(traditionally I</etc/utmp>; some libc versions used I</var/adm/utmp>)"
422 msgstr ""
423 "(tradicionalmente I</etc/utmp>; algumas versões da libc usavam I</var/adm/"
424 "utmp>)"
425
426 #. type: SH
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "ATTRIBUTES"
431 msgstr "ATRIBUTOS"
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid ""
437 "For an explanation of the terms used in this section, see B<attributes>(7)."
438 msgstr ""
439 "Para uma explicação dos termos usados nesta seção, consulte B<attributes>(7)."
440
441 #. type: tbl table
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "Interface"
446 msgstr "Interface"
447
448 #. type: tbl table
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "Attribute"
453 msgstr "Atributo"
454
455 #. type: tbl table
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 #, no-wrap
459 msgid "Value"
460 msgstr "Valor"
461
462 #. type: tbl table
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 #, no-wrap
466 msgid ".na\n"
467 msgstr ".na\n"
468
469 #. type: tbl table
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid ".nh\n"
474 msgstr ".nh\n"
475
476 #. type: TP
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 #, no-wrap
480 msgid "B<getlogin>()"
481 msgstr "B<getlogin>()"
482
483 #. type: tbl table
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 #, no-wrap
487 msgid "Thread safety"
488 msgstr "Thread safety"
489
490 #. type: tbl table
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid ""
495 "MT-Unsafe race:getlogin race:utent\n"
496 "sig:ALRM timer locale"
497 msgstr ""
498
499 #. type: TQ
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 #, no-wrap
503 msgid "B<getlogin_r>()"
504 msgstr "B<getlogin_r>()"
505
506 #. type: tbl table
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 #, no-wrap
510 msgid ""
511 "MT-Unsafe race:utent sig:ALRM timer\n"
512 "locale"
513 msgstr ""
514
515 #. type: TP
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "B<cuserid>()"
520 msgstr "B<cuserid>()"
521
522 #. type: tbl table
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 #, no-wrap
526 msgid "MT-Unsafe race:cuserid/!string locale"
527 msgstr ""
528
529 #. type: Plain text
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 msgid ""
533 "In the above table, I<utent> in I<race:utent> signifies that if any of the "
534 "functions B<setutent>(3), B<getutent>(3), or B<endutent>(3) are used in "
535 "parallel in different threads of a program, then data races could occur. "
536 "B<getlogin>() and B<getlogin_r>() call those functions, so we use "
537 "race:utent to remind users."
538 msgstr ""
539
540 #. type: SH
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 #, no-wrap
544 msgid "VERSIONS"
545 msgstr "VERSÕES"
546
547 #. type: Plain text
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 msgid ""
551 "OpenBSD has B<getlogin>() and B<setlogin>(), and a username associated with "
552 "a session, even if it has no controlling terminal."
553 msgstr ""
554
555 #. type: SH
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 #, no-wrap
559 msgid "STANDARDS"
560 msgstr "PADRÕES"
561
562 #. type: Plain text
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 msgid "POSIX.1-2008."
566 msgstr "POSIX.1-2008."
567
568 #. type: Plain text
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 msgid "None."
572 msgstr ""
573
574 #. type: Plain text
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
577 #, fuzzy
578 #| msgid "POSIX.1-2001."
579 msgid "POSIX.1-2001. OpenBSD."
580 msgstr "POSIX.1-2001."
581
582 #. type: Plain text
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 msgid ""
586 "System V, POSIX.1-1988. Removed in POSIX.1-1990. SUSv2. Removed in "
587 "POSIX.1-2001."
588 msgstr ""
589
590 #. type: Plain text
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 msgid ""
594 "System V has a B<cuserid>() function which uses the real user ID rather "
595 "than the effective user ID."
596 msgstr ""
597
598 #. type: SH
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 #, no-wrap
602 msgid "BUGS"
603 msgstr "BUGS"
604
605 #. type: Plain text
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 #, fuzzy
609 #| msgid ""
610 #| "Unfortunately, it is often rather easy to fool getlogin(). Sometimes it "
611 #| "does not work at all, because some program messed up the utmp file. "
612 #| "Often, it gives only the first 8 characters of the login name. The user "
613 #| "currently logged in on the controlling tty of our program need not be the "
614 #| "user who started it. Avoid getlogin() for security-related purposes."
615 msgid ""
616 "Unfortunately, it is often rather easy to fool B<getlogin>(). Sometimes it "
617 "does not work at all, because some program messed up the utmp file. Often, "
618 "it gives only the first 8 characters of the login name. The user currently "
619 "logged in on the controlling terminal of our program need not be the user "
620 "who started it. Avoid B<getlogin>() for security-related purposes."
621 msgstr ""
622 "Infelizmente, é freqüentemente bem fácil de enganar getlogin(). Às vezes ela "
623 "nem chega a funcionar, porque algum programa bagunçou com o arquivo utmp. "
624 "Geralmente, ela dá apenas os primeiros 8 caracteres do nome de login. O "
625 "usuário atualmente logado no tty controlador do nosso programa não precisa "
626 "ser o usuário que o iniciou. Evite getlogin() para objetivos relacionados a "
627 "segurança."
628
629 #. type: Plain text
630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
632 msgid ""
633 "Note that glibc does not follow the POSIX specification and uses I<stdin> "
634 "instead of I</dev/tty>. A bug. (Other recent systems, like SunOS 5.8 and "
635 "HP-UX 11.11 and FreeBSD 4.8 all return the login name also when I<stdin> is "
636 "redirected.)"
637 msgstr ""
638
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 #, fuzzy
643 #| msgid ""
644 #| "Nobody knows precisely what cuserid() does - avoid it in portable "
645 #| "programs - avoid it altogether - use getpwuid(geteuid()) instead, if that "
646 #| "is what you meant. DO NOT USE cuserid()."
647 msgid ""
648 "Nobody knows precisely what B<cuserid>() does; avoid it in portable "
649 "programs. Or avoid it altogether: use I<getpwuid(geteuid())> instead, if "
650 "that is what you meant. B<Do not use> B<cuserid>()."
651 msgstr ""
652 "Ninguém sabe precisamente o que cuserid() faz - evite-a em programas "
653 "portáveis - evite-as em geral - use getpwuid(geteuid()) no lugar, se é isso "
654 "que você quer. NÃO USE cuserid()."
655
656 #. type: SH
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 #, no-wrap
660 msgid "SEE ALSO"
661 msgstr "VEJA TAMBÉM"
662
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 msgid "B<logname>(1), B<geteuid>(2), B<getuid>(2), B<utmp>(5)"
667 msgstr "B<logname>(1), B<geteuid>(2), B<getuid>(2), B<utmp>(5)"
668
669 #. type: TH
670 #: debian-trixie
671 #, no-wrap
672 msgid "2024-06-15"
673 msgstr "15 junho 2024"
674
675 #. type: TH
676 #: debian-trixie
677 #, no-wrap
678 msgid "Linux man-pages 6.9.1"
679 msgstr "Linux man-pages 6.9.1"
680
681 #. type: Plain text
682 #: debian-trixie
683 msgid "Standard C library (I<libc>, I<-lc>)"
684 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
685
686 #. type: Plain text
687 #: debian-trixie fedora-44 fedora-rawhide
688 #, fuzzy, no-wrap
689 #| msgid "B<int getlogin_r(char *>I<buf>B<, size_t >I<bufsize>B<);>"
690 msgid ""
691 "B<char *getlogin(void);>\n"
692 "B<int getlogin_r(char >I<buf>B<[.>I<bufsize>B<], size_t >I<bufsize>B<);>\n"
693 msgstr "B<int getlogin_r(char *>I<buf>B<, size_t >I<bufsize>B<);>"
694
695 #. type: TH
696 #: fedora-44 fedora-rawhide
697 #, no-wrap
698 msgid "2024-07-23"
699 msgstr "23 julho 2024"
700
701 #. type: TH
702 #: fedora-44 fedora-rawhide
703 #, no-wrap
704 msgid "Linux man-pages 6.13"
705 msgstr "Linux man-pages 6.13"
706
707 #. type: TH
708 #: mageia-cauldron
709 #, no-wrap
710 msgid "Linux man-pages 6.17"
711 msgstr "Linux man-pages 6.17"
712
713 #. type: TH
714 #: opensuse-leap-16-1 opensuse-tumbleweed
715 #, no-wrap
716 msgid "Linux man-pages (unreleased)"
717 msgstr "Linux man-pages (não lançado)"