Debian Codegraph @

po/ru/man3/getlogin.3.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Azamat Hackimov <[email protected]>, 2013-2014, 2017.
5 # Dmitry Bolkhovskikh <[email protected]>, 2017.
6 # Vladislav <[email protected]>, 2015.
7 # Yuri Kozlov <[email protected]>, 2011-2019.
8 # Иван Павлов <[email protected]>, 2017, 2019.
9 msgid ""
10 msgstr ""
11 "Project-Id-Version: manpages-l10n\n"
12 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
13 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
14 "Last-Translator: Yuri Kozlov <[email protected]>\n"
15 "Language-Team: Russian <[email protected]>\n"
16 "Language: ru\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
21 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
22 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
23 "X-Generator: Lokalize 2.0\n"
24
25 #. type: TH
26 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
27 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
28 #, fuzzy, no-wrap
29 #| msgid "B<getlogin>()"
30 msgid "getlogin"
31 msgstr "B<getlogin>()"
32
33 #. type: TH
34 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
35 #: opensuse-tumbleweed
36 #, no-wrap
37 msgid "2026-02-08"
38 msgstr "8 февраля 2026 г."
39
40 #. type: TH
41 #: archlinux debian-unstable
42 #, fuzzy, no-wrap
43 #| msgid "Linux man-pages 6.17"
44 msgid "Linux man-pages 6.18"
45 msgstr "Справочные страницы Linux 6.17"
46
47 #. type: SH
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 #, no-wrap
51 msgid "NAME"
52 msgstr "НАИМЕНОВАНИЕ"
53
54 #. type: Plain text
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 msgid "getlogin, getlogin_r, cuserid - get username"
58 msgstr "getlogin, getlogin_r, cuserid - возвращает имя пользователя"
59
60 #. type: SH
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 #, no-wrap
64 msgid "LIBRARY"
65 msgstr "БИБЛИОТЕКА"
66
67 #. type: Plain text
68 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
69 #: opensuse-leap-16-1 opensuse-tumbleweed
70 msgid "Standard C library (I<libc>,\\ I<-lc>)"
71 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
72
73 #. type: SH
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "SYNOPSIS"
78 msgstr "СИНТАКСИС"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "B<#include E<lt>unistd.hE<gt>>\n"
85 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
86
87 #. type: Plain text
88 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
89 #: opensuse-tumbleweed
90 #, fuzzy, no-wrap
91 #| msgid "B<int getlogin_r(char *>I<buf>B<, size_t >I<bufsize>B<);>"
92 msgid ""
93 "B<char *getlogin(void);>\n"
94 "B<int getlogin_r(>size_t bufsize;\n"
95 "B< char >I<buf>B<[>I<bufsize>B<], size_t >I<bufsize>B<);>\n"
96 msgstr "B<int getlogin_r(char *>I<buf>B<, size_t >I<bufsize>B<);>"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 #, no-wrap
102 msgid "B<#include E<lt>stdio.hE<gt>>\n"
103 msgstr "B<#include E<lt>stdio.hE<gt>>\n"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, fuzzy, no-wrap
109 #| msgid "B<char *cuserid(char *>I<string>B<);>"
110 msgid "B<char *cuserid(char *>I<string>B<);>\n"
111 msgstr "B<char *cuserid(char *>I<string>B<);>"
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
118 msgstr ""
119 "Требования макроса тестирования свойств для glibc (см. "
120 "B<feature_test_macros>(7)):"
121
122 #. type: TQ
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 #, fuzzy, no-wrap
126 #| msgid "B<getlogin_r>()"
127 msgid "B<getlogin_r>():"
128 msgstr "B<getlogin_r>()"
129
130 #. Deprecated: _REENTRANT ||
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 #, fuzzy, no-wrap
135 #| msgid "_POSIX_C_SOURCE E<gt>= 200809L"
136 msgid " _POSIX_C_SOURCE E<gt>= 199506L\n"
137 msgstr "_POSIX_C_SOURCE E<gt>= 200809L"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid "B<cuserid>():"
143 msgstr "B<cuserid>():"
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, fuzzy, no-wrap
149 #| msgid ""
150 #| " Since glibc 2.24:\n"
151 #| " (_XOPEN_SOURCE && ! (_POSIX_C_SOURCE E<gt>= 200112L)\n"
152 #| " || _GNU_SOURCE\n"
153 #| " Up to and including glibc 2.23:\n"
154 #| " _XOPEN_SOURCE\n"
155 msgid ""
156 " Since glibc 2.24:\n"
157 " (_XOPEN_SOURCE && ! (_POSIX_C_SOURCE E<gt>= 200112L)\n"
158 " || _GNU_SOURCE\n"
159 " Up to and including glibc 2.23:\n"
160 " _XOPEN_SOURCE\n"
161 msgstr ""
162 " Начиная с glibc 2.24:\n"
163 " (_XOPEN_SOURCE && ! (_POSIX_C_SOURCE E<gt>= 200112L)\n"
164 " || _GNU_SOURCE\n"
165 " До glibc 2.23 включительно:\n"
166 " _XOPEN_SOURCE\n"
167
168 #. type: SH
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 #, no-wrap
172 msgid "DESCRIPTION"
173 msgstr "ОПИСАНИЕ"
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "B<getlogin>() returns a pointer to a string containing the name of the user "
180 "logged in on the controlling terminal of the process, or a null pointer if "
181 "this information cannot be determined. The string is statically allocated "
182 "and might be overwritten on subsequent calls to this function or to "
183 "B<cuserid>()."
184 msgstr ""
185 "Функция B<getlogin>() возвращает указатель на строку, содержащую имя "
186 "пользователя, вошедшего в систему c терминала, который является управляющим "
187 "для процесса, или указатель null, если эта информация не может быть "
188 "получена. Строка выделяется статически и может быть перезаписана при "
189 "последующих вызовах этой функции или B<cuserid>()."
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid ""
195 "B<getlogin_r>() returns this same username in the array I<buf> of size "
196 "I<bufsize>."
197 msgstr ""
198 "Функция B<getlogin_r>() возвращает то же имя пользователя, но в массиве "
199 "I<buf> размером I<bufsize>."
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "B<cuserid>() returns a pointer to a string containing a username associated "
206 "with the effective user ID of the process. If I<string> is not a null "
207 "pointer, it should be an array that can hold at least B<L_cuserid> "
208 "characters; the string is returned in this array. Otherwise, a pointer to a "
209 "string in a static area is returned. This string is statically allocated "
210 "and might be overwritten on subsequent calls to this function or to "
211 "B<getlogin>()."
212 msgstr ""
213 "Функция B<cuserid>() возвращает указатель на строку, содержащую имя "
214 "пользователя, связанное с идентификатором эффективного пользователя "
215 "процесса. Если I<string> не равно указателю null, то значение должно быть "
216 "массивом, который способен вместить как минимум B<L_cuserid> символов; "
217 "строка возвращается в этом массиве. В противном случае возвращается "
218 "указатель на строку в фиксированной области. Эта строка выделена статически "
219 "и может быть перезаписана при последующих вызовах этой функции или функции "
220 "B<getlogin>()."
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "The macro B<L_cuserid> is an integer constant that indicates how long an "
227 "array you might need to store a username. B<L_cuserid> is declared in "
228 "I<E<lt>stdio.hE<gt>>."
229 msgstr ""
230 "Макрос B<L_cuserid> является целочисленной константой, показывающей длину "
231 "массива, который может понадобиться для хранения имени пользователя. "
232 "B<L_cuserid> описан в I<E<lt>stdio.hE<gt>>."
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "These functions let your program identify positively the user who is running "
239 "(B<cuserid>()) or the user who logged in this session (B<getlogin>()). "
240 "(These can differ when set-user-ID programs are involved.)"
241 msgstr ""
242 "Эти функции позволяют программе точно определить работающего пользователя "
243 "(B<cuserid>()) или пользователя этого сеанса (B<getlogin>()) (значения могут "
244 "различаться, если у программы установлен бит set-user-ID)."
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "For most purposes, it is more useful to use the environment variable "
251 "B<LOGNAME> to find out who the user is. This is more flexible precisely "
252 "because the user can set B<LOGNAME> arbitrarily."
253 msgstr ""
254 "В большинстве случаев для определения пользователя полезнее использовать "
255 "переменную окружения B<LOGNAME>, потому что пользователь может установить "
256 "B<LOGNAME> каким угодно."
257
258 #. type: SH
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "RETURN VALUE"
263 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, fuzzy
269 #| msgid ""
270 #| "B<getlogin>() returns a pointer to the username when successful, and "
271 #| "NULL on failure, with I<errno> set to indicate the cause of the error. "
272 #| "B<getlogin_r>() returns 0 when successful, and nonzero on failure."
273 msgid ""
274 "B<getlogin>() returns a pointer to the username when successful, and NULL "
275 "on failure, with I<errno> set to indicate the error. B<getlogin_r>() "
276 "returns 0 when successful, and nonzero on failure."
277 msgstr ""
278 "При успешном выполнении функция B<getlogin>() возвращает указатель на имя "
279 "пользователя и NULL при ошибке, устанавливая в I<errno> значение ошибки. При "
280 "успешном выполнении B<getlogin_r>() возвращается 0 и не ноль при ошибке."
281
282 #. type: SH
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "ERRORS"
287 msgstr "ОШИБКИ"
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 msgid "POSIX specifies:"
293 msgstr "В POSIX определены:"
294
295 #. type: TP
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid "B<EMFILE>"
300 msgstr "B<EMFILE>"
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid ""
306 "The per-process limit on the number of open file descriptors has been "
307 "reached."
308 msgstr ""
309 "Было достигнуто ограничение по количеству открытых файловых дескрипторов на "
310 "процесс."
311
312 #. type: TP
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "B<ENFILE>"
317 msgstr "B<ENFILE>"
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid ""
323 "The system-wide limit on the total number of open files has been reached."
324 msgstr "Достигнуто максимальное количество открытых файлов в системе."
325
326 #. type: TP
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "B<ENXIO>"
331 msgstr "B<ENXIO>"
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid "The calling process has no controlling terminal."
337 msgstr "У вызывающего процесса нет управляющего терминала."
338
339 #. type: TP
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "B<ERANGE>"
344 msgstr "B<ERANGE>"
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 #, fuzzy
350 #| msgid ""
351 #| "(getlogin_r) The length of the username, including the terminating null "
352 #| "byte (\\(aq\\e0\\(aq), is larger than I<bufsize>."
353 msgid ""
354 "(getlogin_r) The length of the username, including the terminating null "
355 "byte (B<\\[aq]\\[rs]0\\[aq]>), is larger than I<bufsize>."
356 msgstr ""
357 "(getlogin_r) Длина имени пользователя, включая завершающий байт null (\\"
358 "(aq\\e0\\(aq), больше чем I<bufsize>."
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid "Linux/glibc also has:"
364 msgstr "В Linux/glibc также есть:"
365
366 #. type: TP
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "B<ENOENT>"
371 msgstr "B<ENOENT>"
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid "There was no corresponding entry in the utmp-file."
377 msgstr "Нет соответствующей записи в файле utmp."
378
379 #. type: TP
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "B<ENOMEM>"
384 msgstr "B<ENOMEM>"
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 "Insufficient memory to allocate passwd structure."
390 msgstr "Недостаточно памяти для выделения под структуру passwd."
391
392 #. type: TP
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "B<ENOTTY>"
397 msgstr "B<ENOTTY>"
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 "Standard input didn't refer to a terminal. (See BUGS.)"
403 msgstr "Стандартный ввод не ссылается на терминал (смотрите ДЕФЕКТЫ)."
404
405 #. type: SH
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "FILES"
410 msgstr "ФАЙЛЫ"
411
412 #. type: TP
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 #, no-wrap
416 msgid "I</etc/passwd>"
417 msgstr "I</etc/passwd>"
418
419 #. type: Plain text
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 msgid "password database file"
423 msgstr "файл, содержащий базу паролей"
424
425 #. type: TP
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 #, no-wrap
429 msgid "I</var/run/utmp>"
430 msgstr "I</var/run/utmp>"
431
432 #. type: Plain text
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 msgid "(traditionally I</etc/utmp>; some libc versions used I</var/adm/utmp>)"
436 msgstr ""
437 "(обычно, I</etc/utmp>; в некоторых версиях libc используется I</var/adm/"
438 "utmp>)"
439
440 #. type: SH
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "ATTRIBUTES"
445 msgstr "АТРИБУТЫ"
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid ""
451 "For an explanation of the terms used in this section, see B<attributes>(7)."
452 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
453
454 #. type: tbl table
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "Interface"
459 msgstr "Интерфейс"
460
461 #. type: tbl table
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 #, no-wrap
465 msgid "Attribute"
466 msgstr "Атрибут"
467
468 #. type: tbl table
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 #, no-wrap
472 msgid "Value"
473 msgstr "Значение"
474
475 #. type: tbl table
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 #, no-wrap
479 msgid ".na\n"
480 msgstr ".na\n"
481
482 #. type: tbl table
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid ".nh\n"
487 msgstr ".nh\n"
488
489 #. type: TP
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "B<getlogin>()"
494 msgstr "B<getlogin>()"
495
496 #. type: tbl table
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 #, no-wrap
500 msgid "Thread safety"
501 msgstr "Безвредность в нитях"
502
503 #. type: tbl table
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 #, fuzzy, no-wrap
507 #| msgid "MT-Unsafe race:getlogin race:utent\n"
508 msgid ""
509 "MT-Unsafe race:getlogin race:utent\n"
510 "sig:ALRM timer locale"
511 msgstr "MT-Unsafe race:getlogin race:utent\n"
512
513 #. type: TQ
514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
516 #, no-wrap
517 msgid "B<getlogin_r>()"
518 msgstr "B<getlogin_r>()"
519
520 #. type: tbl table
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 #, fuzzy, no-wrap
524 #| msgid "MT-Unsafe race:utent sig:ALRM timer\n"
525 msgid ""
526 "MT-Unsafe race:utent sig:ALRM timer\n"
527 "locale"
528 msgstr "MT-Unsafe race:utent sig:ALRM timer\n"
529
530 #. type: TP
531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
533 #, no-wrap
534 msgid "B<cuserid>()"
535 msgstr "B<cuserid>()"
536
537 #. type: tbl table
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "MT-Unsafe race:cuserid/!string locale"
542 msgstr "MT-Unsafe race:cuserid/!string locale"
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid ""
548 "In the above table, I<utent> in I<race:utent> signifies that if any of the "
549 "functions B<setutent>(3), B<getutent>(3), or B<endutent>(3) are used in "
550 "parallel in different threads of a program, then data races could occur. "
551 "B<getlogin>() and B<getlogin_r>() call those functions, so we use "
552 "race:utent to remind users."
553 msgstr ""
554 "В приведённой выше таблице I<utent> в I<race:utent> означает, что если любая "
555 "из функций B<setutent>(3), B<getutent>(3) или B<endutent>(3) используется "
556 "одновременно в нескольких нитях программы, то может возникнуть "
557 "состязательность по данным. Эти функции вызываются из B<getlogin>() и "
558 "B<getlogin_r>() поэтому мы используем race:utent для напоминания."
559
560 #. type: SH
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 #, no-wrap
564 msgid "VERSIONS"
565 msgstr "ВЕРСИИ"
566
567 #. type: Plain text
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 msgid ""
571 "OpenBSD has B<getlogin>() and B<setlogin>(), and a username associated with "
572 "a session, even if it has no controlling terminal."
573 msgstr ""
574 "В OpenBSD имеются B<getlogin>() и B<setlogin>(), а имя пользователя "
575 "связывается с сеансом даже если не имеется управляющего терминала."
576
577 #. type: SH
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 #, no-wrap
581 msgid "STANDARDS"
582 msgstr "СТАНДАРТЫ"
583
584 #. type: Plain text
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 msgid "POSIX.1-2008."
588 msgstr "POSIX.1-2008."
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 "None."
594 msgstr "Отсутствуют."
595
596 #. type: Plain text
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 #, fuzzy
600 #| msgid "POSIX.1-2001."
601 msgid "POSIX.1-2001. OpenBSD."
602 msgstr "POSIX.1-2001."
603
604 #. type: Plain text
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 msgid ""
608 "System V, POSIX.1-1988. Removed in POSIX.1-1990. SUSv2. Removed in "
609 "POSIX.1-2001."
610 msgstr ""
611
612 #. type: Plain text
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 msgid ""
616 "System V has a B<cuserid>() function which uses the real user ID rather "
617 "than the effective user ID."
618 msgstr ""
619
620 #. type: SH
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid "BUGS"
625 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 msgid ""
631 "Unfortunately, it is often rather easy to fool B<getlogin>(). Sometimes it "
632 "does not work at all, because some program messed up the utmp file. Often, "
633 "it gives only the first 8 characters of the login name. The user currently "
634 "logged in on the controlling terminal of our program need not be the user "
635 "who started it. Avoid B<getlogin>() for security-related purposes."
636 msgstr ""
637 "К сожалению, зачастую довольно просто «обмануть» B<getlogin>(). Иногда она "
638 "вообще не работает из-за того, что какая-то программа испортила содержимое "
639 "файла utmp. Часто функция возвращает только первые 8 символов имени. "
640 "Пользователь, вошедший в систему с терминала, который является управляющим "
641 "для нашей программы, необязательно будет пользователем, запустившим "
642 "программу. Избегайте использования B<getlogin>() из соображений безопасности."
643
644 #. type: Plain text
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 msgid ""
648 "Note that glibc does not follow the POSIX specification and uses I<stdin> "
649 "instead of I</dev/tty>. A bug. (Other recent systems, like SunOS 5.8 and "
650 "HP-UX 11.11 and FreeBSD 4.8 all return the login name also when I<stdin> is "
651 "redirected.)"
652 msgstr ""
653 "Заметим, что glibc не следует спецификации POSIX и использует I<stdin> "
654 "вместо I</dev/tty>. Дефект ( в других современных системах, например SunOS "
655 "5.8, HP-UX 11.11 и FreeBSD 4.8, также возвращают имя пользователя если было "
656 "перенаправление I<stdin>)."
657
658 #. type: Plain text
659 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
660 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
661 msgid ""
662 "Nobody knows precisely what B<cuserid>() does; avoid it in portable "
663 "programs. Or avoid it altogether: use I<getpwuid(geteuid())> instead, if "
664 "that is what you meant. B<Do not use> B<cuserid>()."
665 msgstr ""
666 "Никто точно не знает что делает B<cuserid>(), поэтому не используйте её в "
667 "переносимых программах. Вместо неё используйте I<getpwuid(geteuid())>, если "
668 "это необходимо. B<Не используйте> B<cuserid>()."
669
670 #. type: SH
671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
673 #, no-wrap
674 msgid "SEE ALSO"
675 msgstr "СМОТРИТЕ ТАКЖЕ"
676
677 #. type: Plain text
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 msgid "B<logname>(1), B<geteuid>(2), B<getuid>(2), B<utmp>(5)"
681 msgstr "B<logname>(1), B<geteuid>(2), B<getuid>(2), B<utmp>(5)"
682
683 #. type: TH
684 #: debian-trixie
685 #, no-wrap
686 msgid "2024-06-15"
687 msgstr "15 июня 2024 г."
688
689 #. type: TH
690 #: debian-trixie
691 #, no-wrap
692 msgid "Linux man-pages 6.9.1"
693 msgstr "Страницы руководства Linux 6.9.1"
694
695 #. type: Plain text
696 #: debian-trixie
697 msgid "Standard C library (I<libc>, I<-lc>)"
698 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
699
700 #. type: Plain text
701 #: debian-trixie fedora-44 fedora-rawhide
702 #, fuzzy, no-wrap
703 #| msgid "B<int getlogin_r(char *>I<buf>B<, size_t >I<bufsize>B<);>"
704 msgid ""
705 "B<char *getlogin(void);>\n"
706 "B<int getlogin_r(char >I<buf>B<[.>I<bufsize>B<], size_t >I<bufsize>B<);>\n"
707 msgstr "B<int getlogin_r(char *>I<buf>B<, size_t >I<bufsize>B<);>"
708
709 #. type: TH
710 #: fedora-44 fedora-rawhide
711 #, no-wrap
712 msgid "2024-07-23"
713 msgstr "23 июля 2024 г."
714
715 #. type: TH
716 #: fedora-44 fedora-rawhide
717 #, no-wrap
718 msgid "Linux man-pages 6.13"
719 msgstr "Страницы руководства Linux 6.13"
720
721 #. type: TH
722 #: mageia-cauldron
723 #, no-wrap
724 msgid "Linux man-pages 6.17"
725 msgstr "Страницы руководства Linux 6.17"
726
727 #. type: TH
728 #: opensuse-leap-16-1 opensuse-tumbleweed
729 #, no-wrap
730 msgid "Linux man-pages (unreleased)"
731 msgstr "Страницы руководства Linux (не выпущены)"