| 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<getpwnam>()" |
| 30 |
msgid "getpwnam" |
| 31 |
msgstr "B<getpwnam>()" |
| 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 "getpwnam, getpwnam_r, getpwuid, getpwuid_r - get password file entry" |
| 58 |
msgstr "" |
| 59 |
"getpwnam, getpwnam_r, getpwuid, getpwuid_r - получает записи из файла паролей" |
| 60 |
|
| 61 |
#. type: SH |
| 62 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 63 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
#, no-wrap |
| 65 |
msgid "LIBRARY" |
| 66 |
msgstr "БИБЛИОТЕКА" |
| 67 |
|
| 68 |
#. type: Plain text |
| 69 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 70 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 72 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 73 |
|
| 74 |
#. type: SH |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
#, no-wrap |
| 78 |
msgid "SYNOPSIS" |
| 79 |
msgstr "СИНТАКСИС" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "" |
| 86 |
"B<#include E<lt>sys/types.hE<gt>>\n" |
| 87 |
"B<#include E<lt>pwd.hE<gt>>\n" |
| 88 |
msgstr "" |
| 89 |
"B<#include E<lt>sys/types.hE<gt>>\n" |
| 90 |
"B<#include E<lt>pwd.hE<gt>>\n" |
| 91 |
|
| 92 |
#. type: Plain text |
| 93 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 94 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 95 |
#, fuzzy, no-wrap |
| 96 |
#| msgid "B<struct passwd *getpwnam(const char *>I<name>B<);>\n" |
| 97 |
msgid "" |
| 98 |
"B<struct passwd *getpwnam(const char *>I<name>B<);>\n" |
| 99 |
"B<struct passwd *getpwuid(uid_t >I<uid>B<);>\n" |
| 100 |
msgstr "B<struct passwd *getpwnam(const char *>I<name>B<);>\n" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 104 |
#: opensuse-tumbleweed |
| 105 |
#, no-wrap |
| 106 |
msgid "" |
| 107 |
"B<int getpwnam_r(>size_t size;\n" |
| 108 |
"B< const char *restrict >I<name>B<,>\n" |
| 109 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 110 |
"B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 111 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 112 |
"B<int getpwuid_r(>size_t size;\n" |
| 113 |
"B< uid_t >I<uid>B<,>\n" |
| 114 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 115 |
"B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 116 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 117 |
msgstr "" |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
msgid "" |
| 123 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 124 |
msgstr "" |
| 125 |
"Требования макроса тестирования свойств для glibc (см. " |
| 126 |
"B<feature_test_macros>(7)):" |
| 127 |
|
| 128 |
#. type: Plain text |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
msgid "B<getpwnam_r>(), B<getpwuid_r>():" |
| 132 |
msgstr "B<getpwnam_r>(), B<getpwuid_r>():" |
| 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 |
#, no-wrap |
| 138 |
msgid "" |
| 139 |
" _POSIX_C_SOURCE\n" |
| 140 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 141 |
msgstr "" |
| 142 |
" _POSIX_C_SOURCE\n" |
| 143 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 144 |
|
| 145 |
#. type: SH |
| 146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
#, no-wrap |
| 149 |
msgid "DESCRIPTION" |
| 150 |
msgstr "ОПИСАНИЕ" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"The B<getpwnam>() function returns a pointer to a structure containing the " |
| 157 |
"broken-out fields of the record in the password database (e.g., the local " |
| 158 |
"password file I</etc/passwd>, NIS, and LDAP) that matches the username " |
| 159 |
"I<name>." |
| 160 |
msgstr "" |
| 161 |
"Функция B<getpwnam>() возвращает указатель на структуру, содержащую " |
| 162 |
"разделённую на поля запись из базы данных паролей (например, из локального " |
| 163 |
"файла паролей I</etc/passwd>, NIS и LDAP), которая соответствует имени " |
| 164 |
"пользователя I<name>." |
| 165 |
|
| 166 |
#. type: Plain text |
| 167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
msgid "" |
| 170 |
"The B<getpwuid>() function returns a pointer to a structure containing the " |
| 171 |
"broken-out fields of the record in the password database that matches the " |
| 172 |
"user ID I<uid>." |
| 173 |
msgstr "" |
| 174 |
"Функция B<getpwuid>() возвращает указатель на структуру, содержащую " |
| 175 |
"разделённую на поля запись из базы данных паролей, которая соответствует " |
| 176 |
"идентификатору пользователя I<uid>." |
| 177 |
|
| 178 |
#. type: Plain text |
| 179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 181 |
msgid "The I<passwd> structure is defined in I<E<lt>pwd.hE<gt>> as follows:" |
| 182 |
msgstr "Структура I<passwd> определена в I<E<lt>pwd.hE<gt>> таким образом:" |
| 183 |
|
| 184 |
#. type: Plain text |
| 185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 187 |
#, no-wrap |
| 188 |
msgid "" |
| 189 |
"struct passwd {\n" |
| 190 |
" char *pw_name; /* username */\n" |
| 191 |
" char *pw_passwd; /* user password */\n" |
| 192 |
" uid_t pw_uid; /* user ID */\n" |
| 193 |
" gid_t pw_gid; /* group ID */\n" |
| 194 |
" char *pw_gecos; /* user information */\n" |
| 195 |
" char *pw_dir; /* home directory */\n" |
| 196 |
" char *pw_shell; /* shell program */\n" |
| 197 |
"};\n" |
| 198 |
msgstr "" |
| 199 |
"struct passwd {\n" |
| 200 |
" char *pw_name; /* имя пользователя */\n" |
| 201 |
" char *pw_passwd; /* пароль пользователя */\n" |
| 202 |
" uid_t pw_uid; /* идентификатор пользователя */\n" |
| 203 |
" gid_t pw_gid; /* идентификатор группы */\n" |
| 204 |
" char *pw_gecos; /* информация о пользователе */\n" |
| 205 |
" char *pw_dir; /* домашний каталог */\n" |
| 206 |
" char *pw_shell; /* программная оболочка */\n" |
| 207 |
"};\n" |
| 208 |
|
| 209 |
#. type: Plain text |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
msgid "See B<passwd>(5) for more information about these fields." |
| 213 |
msgstr "Подробней об этих полях смотрите в B<passwd>(5)." |
| 214 |
|
| 215 |
#. type: Plain text |
| 216 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 217 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
#, fuzzy |
| 219 |
#| msgid "" |
| 220 |
#| "The B<getpwnam_r>() and B<getpwuid_r>() functions obtain the same " |
| 221 |
#| "information as B<getpwnam>() and B<getpwuid>(), but store the retrieved " |
| 222 |
#| "I<passwd> structure in the space pointed to by I<pwd>. The string fields " |
| 223 |
#| "pointed to by the members of the I<passwd> structure are stored in the " |
| 224 |
#| "buffer I<buf> of size I<buflen>. A pointer to the result (in case of " |
| 225 |
#| "success) or NULL (in case no entry was found or an error occurred) is " |
| 226 |
#| "stored in I<*result>." |
| 227 |
msgid "" |
| 228 |
"The B<getpwnam_r>() and B<getpwuid_r>() functions obtain the same " |
| 229 |
"information as B<getpwnam>() and B<getpwuid>(), but store the retrieved " |
| 230 |
"I<passwd> structure in the space pointed to by I<pwd>. The string fields " |
| 231 |
"pointed to by the members of the I<passwd> structure are stored in the " |
| 232 |
"buffer I<buf> of size I<size>. A pointer to the result (in case of success) " |
| 233 |
"or NULL (in case no entry was found or an error occurred) is stored in " |
| 234 |
"I<*result>." |
| 235 |
msgstr "" |
| 236 |
"Функции B<getpwnam_r>() и B<getpwuid_r>() принимают ту же информацию что и " |
| 237 |
"B<getpwnam>() и B<getpwuid>(), но сохраняют полученную структуру I<passwd> в " |
| 238 |
"пространство, указанное I<pwd>. Строковые поля членов структуры I<passwd> " |
| 239 |
"сохраняются в буфере I<buf> размера I<buflen>. Указатель на результат (при " |
| 240 |
"успешном выполнении) или NULL (если записи отсутствуют или произошла ошибка) " |
| 241 |
"сохраняется в I<*result>." |
| 242 |
|
| 243 |
#. type: Plain text |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
msgid "The call" |
| 247 |
msgstr "Вызов" |
| 248 |
|
| 249 |
#. type: Plain text |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
#, fuzzy, no-wrap |
| 253 |
#| msgid " sysconf(_SC_GETPW_R_SIZE_MAX)\n" |
| 254 |
msgid "sysconf(_SC_GETPW_R_SIZE_MAX)\n" |
| 255 |
msgstr " sysconf(_SC_GETPW_R_SIZE_MAX)\n" |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 260 |
msgid "" |
| 261 |
"returns either -1, without changing I<errno>, or an initial suggested size " |
| 262 |
"for I<buf>. (If this size is too small, the call fails with B<ERANGE>, in " |
| 263 |
"which case the caller can retry with a larger buffer.)" |
| 264 |
msgstr "" |
| 265 |
"возвращает или -1 без изменения I<errno> или начальный предполагаемый размер " |
| 266 |
"I<buf> (если этот размер мал, то вызов завершается B<ERANGE>; в этом случае " |
| 267 |
"вызывающий может повторить вызов с большим буфером)." |
| 268 |
|
| 269 |
#. type: SH |
| 270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 272 |
#, no-wrap |
| 273 |
msgid "RETURN VALUE" |
| 274 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 275 |
|
| 276 |
#. type: Plain text |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
#, fuzzy |
| 280 |
#| msgid "" |
| 281 |
#| "The B<getpwnam>() and B<getpwuid>() functions return a pointer to a " |
| 282 |
#| "I<passwd> structure, or NULL if the matching entry is not found or an " |
| 283 |
#| "error occurs. If an error occurs, I<errno> is set appropriately. If one " |
| 284 |
#| "wants to check I<errno> after the call, it should be set to zero before " |
| 285 |
#| "the call." |
| 286 |
msgid "" |
| 287 |
"The B<getpwnam>() and B<getpwuid>() functions return a pointer to a " |
| 288 |
"I<passwd> structure, or NULL if the matching entry is not found or an error " |
| 289 |
"occurs. If an error occurs, I<errno> is set to indicate the error. If one " |
| 290 |
"wants to check I<errno> after the call, it should be set to zero before the " |
| 291 |
"call." |
| 292 |
msgstr "" |
| 293 |
"Функции B<getpwnam>() и B<getpwuid>() возвращают указатель на структуру " |
| 294 |
"I<passwd> или NULL, если подходящих записей не найдено или возникла ошибка. " |
| 295 |
"При ошибке I<errno> устанавливается в соответствующее значение. Если нужно " |
| 296 |
"проверять переменную I<errno> после вызова, то перед этим нужно присвоить ей " |
| 297 |
"нулевое значение." |
| 298 |
|
| 299 |
#. type: Plain text |
| 300 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 301 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 302 |
msgid "" |
| 303 |
"The return value may point to a static area, and may be overwritten by " |
| 304 |
"subsequent calls to B<getpwent>(3), B<getpwnam>(), or B<getpwuid>(). (Do " |
| 305 |
"not pass the returned pointer to B<free>(3).)" |
| 306 |
msgstr "" |
| 307 |
"Возвращаемое значение может указывать на статическую область и может быть " |
| 308 |
"перезаписано при последующих вызовах B<getpwent>(3), B<getpwnam>() или " |
| 309 |
"B<getpwuid>() (не передавайте полученный указатель B<free>(3))." |
| 310 |
|
| 311 |
#. type: Plain text |
| 312 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 313 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 314 |
msgid "" |
| 315 |
"On success, B<getpwnam_r>() and B<getpwuid_r>() return zero, and set " |
| 316 |
"I<*result> to I<pwd>. If no matching password record was found, these " |
| 317 |
"functions return 0 and store NULL in I<*result>. In case of error, an error " |
| 318 |
"number is returned, and NULL is stored in I<*result>." |
| 319 |
msgstr "" |
| 320 |
"При успешном выполнении B<getpwnam_r>() и B<getpwuid_r>() возвращают ноль, и " |
| 321 |
"устанавливают I<*result> в I<pwd>. Если совпадений не найдено, то эти " |
| 322 |
"функции возвращают 0 и сохраняют NULL в I<*result>. При ошибке возвращается " |
| 323 |
"её номер и в I<*result> сохраняется NULL." |
| 324 |
|
| 325 |
#. type: SH |
| 326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
#, no-wrap |
| 329 |
msgid "ERRORS" |
| 330 |
msgstr "ОШИБКИ" |
| 331 |
|
| 332 |
#. type: TP |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
#, no-wrap |
| 336 |
msgid "B<0> or B<ENOENT> or B<ESRCH> or B<EBADF> or B<EPERM> or ..." |
| 337 |
msgstr "B<0> или B<ENOENT> или B<ESRCH> или B<EBADF> или B<EPERM> или ..." |
| 338 |
|
| 339 |
#. type: Plain text |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
msgid "The given I<name> or I<uid> was not found." |
| 343 |
msgstr "Указанное значение I<name> или I<uid> не найдено." |
| 344 |
|
| 345 |
#. type: TP |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
#, no-wrap |
| 349 |
msgid "B<EINTR>" |
| 350 |
msgstr "B<EINTR>" |
| 351 |
|
| 352 |
#. type: Plain text |
| 353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 355 |
msgid "A signal was caught; see B<signal>(7)." |
| 356 |
msgstr "При выполнении поступил сигнал; см. B<signal>(7)." |
| 357 |
|
| 358 |
#. type: TP |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
#, no-wrap |
| 362 |
msgid "B<EIO>" |
| 363 |
msgstr "B<EIO>" |
| 364 |
|
| 365 |
#. type: Plain text |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
msgid "I/O error." |
| 369 |
msgstr "Ошибка ввода-вывода." |
| 370 |
|
| 371 |
#. type: TP |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
#, no-wrap |
| 375 |
msgid "B<EMFILE>" |
| 376 |
msgstr "B<EMFILE>" |
| 377 |
|
| 378 |
#. type: Plain text |
| 379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 381 |
msgid "" |
| 382 |
"The per-process limit on the number of open file descriptors has been " |
| 383 |
"reached." |
| 384 |
msgstr "" |
| 385 |
"Было достигнуто ограничение по количеству открытых файловых дескрипторов на " |
| 386 |
"процесс." |
| 387 |
|
| 388 |
#. type: TP |
| 389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 391 |
#, no-wrap |
| 392 |
msgid "B<ENFILE>" |
| 393 |
msgstr "B<ENFILE>" |
| 394 |
|
| 395 |
#. type: Plain text |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
msgid "" |
| 399 |
"The system-wide limit on the total number of open files has been reached." |
| 400 |
msgstr "Достигнуто максимальное количество открытых файлов в системе." |
| 401 |
|
| 402 |
#. type: TP |
| 403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 405 |
#, no-wrap |
| 406 |
msgid "B<ENOMEM>" |
| 407 |
msgstr "B<ENOMEM>" |
| 408 |
|
| 409 |
#. #-#-#-#-# archlinux: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 410 |
#. not in POSIX |
| 411 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 412 |
#. type: Plain text |
| 413 |
#. #-#-#-#-# debian-trixie: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 414 |
#. not in POSIX |
| 415 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 416 |
#. type: Plain text |
| 417 |
#. #-#-#-#-# debian-unstable: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 418 |
#. not in POSIX |
| 419 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 420 |
#. type: Plain text |
| 421 |
#. #-#-#-#-# fedora-44: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 422 |
#. not in POSIX |
| 423 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 424 |
#. type: Plain text |
| 425 |
#. #-#-#-#-# fedora-rawhide: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 426 |
#. not in POSIX |
| 427 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 428 |
#. type: Plain text |
| 429 |
#. #-#-#-#-# mageia-cauldron: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 430 |
#. not in POSIX |
| 431 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 432 |
#. type: Plain text |
| 433 |
#. #-#-#-#-# opensuse-leap-16-1: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 434 |
#. not in POSIX |
| 435 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 436 |
#. type: Plain text |
| 437 |
#. #-#-#-#-# opensuse-tumbleweed: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 438 |
#. not in POSIX |
| 439 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 440 |
#. type: Plain text |
| 441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 443 |
msgid "Insufficient memory to allocate I<passwd> structure." |
| 444 |
msgstr "Недостаточно памяти для структуры I<passwd>." |
| 445 |
|
| 446 |
#. type: TP |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "B<ERANGE>" |
| 451 |
msgstr "B<ERANGE>" |
| 452 |
|
| 453 |
#. type: Plain text |
| 454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 456 |
msgid "Insufficient buffer space supplied." |
| 457 |
msgstr "Недостаточно места в буфере." |
| 458 |
|
| 459 |
#. type: SH |
| 460 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 461 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
#, no-wrap |
| 463 |
msgid "FILES" |
| 464 |
msgstr "ФАЙЛЫ" |
| 465 |
|
| 466 |
#. type: TP |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
#, no-wrap |
| 470 |
msgid "I</etc/passwd>" |
| 471 |
msgstr "I</etc/passwd>" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "local password database file" |
| 477 |
msgstr "файл, содержащий локальную базу паролей" |
| 478 |
|
| 479 |
#. type: SH |
| 480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 482 |
#, no-wrap |
| 483 |
msgid "ATTRIBUTES" |
| 484 |
msgstr "АТРИБУТЫ" |
| 485 |
|
| 486 |
#. type: Plain text |
| 487 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 488 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 489 |
msgid "" |
| 490 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 491 |
msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)." |
| 492 |
|
| 493 |
#. type: tbl table |
| 494 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 495 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 496 |
#, no-wrap |
| 497 |
msgid "Interface" |
| 498 |
msgstr "Интерфейс" |
| 499 |
|
| 500 |
#. type: tbl table |
| 501 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 502 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 503 |
#, no-wrap |
| 504 |
msgid "Attribute" |
| 505 |
msgstr "Атрибут" |
| 506 |
|
| 507 |
#. type: tbl table |
| 508 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 509 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 510 |
#, no-wrap |
| 511 |
msgid "Value" |
| 512 |
msgstr "Значение" |
| 513 |
|
| 514 |
#. type: tbl table |
| 515 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 516 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 517 |
#, no-wrap |
| 518 |
msgid ".na\n" |
| 519 |
msgstr ".na\n" |
| 520 |
|
| 521 |
#. type: tbl table |
| 522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 524 |
#, no-wrap |
| 525 |
msgid ".nh\n" |
| 526 |
msgstr ".nh\n" |
| 527 |
|
| 528 |
#. type: tbl table |
| 529 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 530 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 531 |
#, no-wrap |
| 532 |
msgid "B<getpwnam>()" |
| 533 |
msgstr "B<getpwnam>()" |
| 534 |
|
| 535 |
#. type: tbl table |
| 536 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 537 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 538 |
#, no-wrap |
| 539 |
msgid "Thread safety" |
| 540 |
msgstr "Безвредность в нитях" |
| 541 |
|
| 542 |
#. type: tbl table |
| 543 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 544 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 545 |
#, no-wrap |
| 546 |
msgid "MT-Unsafe race:pwnam locale" |
| 547 |
msgstr "MT-Unsafe race:pwnam locale" |
| 548 |
|
| 549 |
#. type: tbl table |
| 550 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 551 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 552 |
#, no-wrap |
| 553 |
msgid "B<getpwuid>()" |
| 554 |
msgstr "B<getpwuid>()" |
| 555 |
|
| 556 |
#. type: tbl table |
| 557 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 558 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 559 |
#, no-wrap |
| 560 |
msgid "MT-Unsafe race:pwuid locale" |
| 561 |
msgstr "MT-Unsafe race:pwuid locale" |
| 562 |
|
| 563 |
#. type: tbl table |
| 564 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 565 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 566 |
#, fuzzy, no-wrap |
| 567 |
#| msgid "B<getpwnam_r>(), B<getpwuid_r>():" |
| 568 |
msgid "" |
| 569 |
"B<getpwnam_r>(),\n" |
| 570 |
"B<getpwuid_r>()" |
| 571 |
msgstr "B<getpwnam_r>(), B<getpwuid_r>():" |
| 572 |
|
| 573 |
#. type: tbl table |
| 574 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 575 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 576 |
#, no-wrap |
| 577 |
msgid "MT-Safe locale" |
| 578 |
msgstr "MT-Safe locale" |
| 579 |
|
| 580 |
#. type: SH |
| 581 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 582 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 583 |
#, no-wrap |
| 584 |
msgid "VERSIONS" |
| 585 |
msgstr "ВЕРСИИ" |
| 586 |
|
| 587 |
#. type: Plain text |
| 588 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 589 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 590 |
msgid "" |
| 591 |
"The I<pw_gecos> field is not specified in POSIX, but is present on most " |
| 592 |
"implementations." |
| 593 |
msgstr "" |
| 594 |
"Поле I<pw_gecos> не указано в POSIX, но присутствует в большинстве " |
| 595 |
"реализаций." |
| 596 |
|
| 597 |
#. type: SH |
| 598 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 599 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 600 |
#, no-wrap |
| 601 |
msgid "STANDARDS" |
| 602 |
msgstr "СТАНДАРТЫ" |
| 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 "POSIX.1-2008." |
| 608 |
msgstr "POSIX.1-2008." |
| 609 |
|
| 610 |
#. type: SH |
| 611 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 612 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 613 |
#, no-wrap |
| 614 |
msgid "HISTORY" |
| 615 |
msgstr "ИСТОРИЯ" |
| 616 |
|
| 617 |
#. type: Plain text |
| 618 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 619 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 620 |
msgid "POSIX.1-2001, SVr4, 4.3BSD." |
| 621 |
msgstr "POSIX.1-2001, SVr4, 4.3BSD." |
| 622 |
|
| 623 |
#. type: SH |
| 624 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 625 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 626 |
#, no-wrap |
| 627 |
msgid "NOTES" |
| 628 |
msgstr "ПРИМЕЧАНИЯ" |
| 629 |
|
| 630 |
#. more precisely: |
| 631 |
#. AIX 5.1 - gives ESRCH |
| 632 |
#. OSF1 4.0g - gives EWOULDBLOCK |
| 633 |
#. libc, glibc up to glibc 2.6, Irix 6.5 - give ENOENT |
| 634 |
#. since glibc 2.7 - give 0 |
| 635 |
#. FreeBSD 4.8, OpenBSD 3.2, NetBSD 1.6 - give EPERM |
| 636 |
#. SunOS 5.8 - gives EBADF |
| 637 |
#. Tru64 5.1b, HP-UX-11i, SunOS 5.7 - give 0 |
| 638 |
#. type: Plain text |
| 639 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 640 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 641 |
msgid "" |
| 642 |
"The formulation given above under \"RETURN VALUE\" is from POSIX.1-2001. It " |
| 643 |
"does not call \"not found\" an error, and hence does not specify what value " |
| 644 |
"I<errno> might have in this situation. But that makes it impossible to " |
| 645 |
"recognize errors. One might argue that according to POSIX I<errno> should " |
| 646 |
"be left unchanged if an entry is not found. Experiments on various UNIX-" |
| 647 |
"like systems show that lots of different values occur in this situation: 0, " |
| 648 |
"ENOENT, EBADF, ESRCH, EWOULDBLOCK, EPERM, and probably others." |
| 649 |
msgstr "" |
| 650 |
"Описание «ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ», приведённого выше, взято из POSIX.1-2001. " |
| 651 |
"В нём «не найдено» не считается ошибкой и поэтому не указано, каким может " |
| 652 |
"быть значение I<errno> в этом случае. Но это делает невозможным определить " |
| 653 |
"тип ошибки. Из описание POSIX можно посчитать, что I<errno> не должно " |
| 654 |
"измениться, если запись не найдена. Эксперименты в различных UNIX-подобных " |
| 655 |
"системах показывают, что в этой ситуации возвращается много разных значений: " |
| 656 |
"0, ENOENT, EBADF, ESRCH, EWOULDBLOCK, EPERM и, возможно, другие." |
| 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 |
"The I<pw_dir> field contains the name of the initial working directory of " |
| 663 |
"the user. Login programs use the value of this field to initialize the " |
| 664 |
"B<HOME> environment variable for the login shell. An application that wants " |
| 665 |
"to determine its user's home directory should inspect the value of B<HOME> " |
| 666 |
"(rather than the value I<getpwuid(getuid())-E<gt>pw_dir>) since this allows " |
| 667 |
"the user to modify their notion of \"the home directory\" during a login " |
| 668 |
"session. To determine the (initial) home directory of another user, it is " |
| 669 |
"necessary to use I<getpwnam(\"username\")-E<gt>pw_dir> or similar." |
| 670 |
msgstr "" |
| 671 |
"В поле I<pw_dir> содержится имя первого рабочего каталога пользователя. " |
| 672 |
"Программы входа используют это значение для инициализации переменной " |
| 673 |
"окружения B<HOME> для регистрационной оболочки. Приложение, которое хочет " |
| 674 |
"определить имя домашнего каталога пользователя должно проверять значение " |
| 675 |
"B<HOME> (а не значение I<getpwuid(getuid())-E<gt>pw_dir>), так как это " |
| 676 |
"позволяет пользователю изменять их понятие о «домашнем каталоге» в течении " |
| 677 |
"сеанса. Для определения (начального) домашнего каталога другого пользователя " |
| 678 |
"необходимо использовать I<getpwnam(\"имя пользователя\")-E<gt>pw_dir> или " |
| 679 |
"похожий вызов." |
| 680 |
|
| 681 |
#. type: SH |
| 682 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 683 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 684 |
#, no-wrap |
| 685 |
msgid "EXAMPLES" |
| 686 |
msgstr "ПРИМЕРЫ" |
| 687 |
|
| 688 |
#. type: Plain text |
| 689 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 690 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 691 |
msgid "" |
| 692 |
"The program below demonstrates the use of B<getpwnam_r>() to find the full " |
| 693 |
"username and user ID for the username supplied as a command-line argument." |
| 694 |
msgstr "" |
| 695 |
"Представленная ниже программа использует B<getpwnam_r>() при поиске полного " |
| 696 |
"имени пользователя и его ID согласно указанному имени в аргументе командной " |
| 697 |
"строки." |
| 698 |
|
| 699 |
#. type: Plain text |
| 700 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 701 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 702 |
#, no-wrap |
| 703 |
msgid "" |
| 704 |
"#include E<lt>errno.hE<gt>\n" |
| 705 |
"#include E<lt>pwd.hE<gt>\n" |
| 706 |
"#include E<lt>stdint.hE<gt>\n" |
| 707 |
"#include E<lt>stdio.hE<gt>\n" |
| 708 |
"#include E<lt>stdlib.hE<gt>\n" |
| 709 |
"#include E<lt>unistd.hE<gt>\n" |
| 710 |
"\\&\n" |
| 711 |
"int\n" |
| 712 |
"main(int argc, char *argv[])\n" |
| 713 |
"{\n" |
| 714 |
" struct passwd pwd;\n" |
| 715 |
" struct passwd *result;\n" |
| 716 |
" char *buf;\n" |
| 717 |
" long bufsize;\n" |
| 718 |
" int s;\n" |
| 719 |
"\\&\n" |
| 720 |
" if (argc != 2) {\n" |
| 721 |
" fprintf(stderr, \"Usage: %s username\\[rs]n\", argv[0]);\n" |
| 722 |
" exit(EXIT_FAILURE);\n" |
| 723 |
" }\n" |
| 724 |
"\\&\n" |
| 725 |
" bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);\n" |
| 726 |
" if (bufsize == -1) /* Value was indeterminate */\n" |
| 727 |
" bufsize = 16384; /* Should be more than enough */\n" |
| 728 |
"\\&\n" |
| 729 |
" buf = malloc(bufsize);\n" |
| 730 |
" if (buf == NULL) {\n" |
| 731 |
" perror(\"malloc\");\n" |
| 732 |
" exit(EXIT_FAILURE);\n" |
| 733 |
" }\n" |
| 734 |
"\\&\n" |
| 735 |
" s = getpwnam_r(argv[1], &pwd, buf, bufsize, &result);\n" |
| 736 |
" if (result == NULL) {\n" |
| 737 |
" if (s == 0)\n" |
| 738 |
" printf(\"Not found\\[rs]n\");\n" |
| 739 |
" else {\n" |
| 740 |
" errno = s;\n" |
| 741 |
" perror(\"getpwnam_r\");\n" |
| 742 |
" }\n" |
| 743 |
" exit(EXIT_FAILURE);\n" |
| 744 |
" }\n" |
| 745 |
"\\&\n" |
| 746 |
" printf(\"Name: %s; UID: %jd\\[rs]n\", pwd.pw_gecos,\n" |
| 747 |
" (intmax_t) pwd.pw_uid);\n" |
| 748 |
" exit(EXIT_SUCCESS);\n" |
| 749 |
"}\n" |
| 750 |
msgstr "" |
| 751 |
|
| 752 |
#. SRC END |
| 753 |
#. type: SH |
| 754 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 755 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 756 |
#, no-wrap |
| 757 |
msgid "SEE ALSO" |
| 758 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 759 |
|
| 760 |
#. type: Plain text |
| 761 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 762 |
#: opensuse-tumbleweed |
| 763 |
msgid "" |
| 764 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 765 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)" |
| 766 |
msgstr "" |
| 767 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 768 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)" |
| 769 |
|
| 770 |
#. type: TH |
| 771 |
#: debian-trixie |
| 772 |
#, no-wrap |
| 773 |
msgid "2024-06-15" |
| 774 |
msgstr "15 июня 2024 г." |
| 775 |
|
| 776 |
#. type: TH |
| 777 |
#: debian-trixie |
| 778 |
#, no-wrap |
| 779 |
msgid "Linux man-pages 6.9.1" |
| 780 |
msgstr "Страницы руководства Linux 6.9.1" |
| 781 |
|
| 782 |
#. type: Plain text |
| 783 |
#: debian-trixie |
| 784 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 785 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 786 |
|
| 787 |
#. type: Plain text |
| 788 |
#: debian-trixie |
| 789 |
#, no-wrap |
| 790 |
msgid "" |
| 791 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 792 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 793 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 794 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 795 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 796 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 797 |
msgstr "" |
| 798 |
|
| 799 |
#. type: Plain text |
| 800 |
#: debian-trixie |
| 801 |
msgid "" |
| 802 |
"The B<getpwnam_r>() and B<getpwuid_r>() functions obtain the same " |
| 803 |
"information as B<getpwnam>() and B<getpwuid>(), but store the retrieved " |
| 804 |
"I<passwd> structure in the space pointed to by I<pwd>. The string fields " |
| 805 |
"pointed to by the members of the I<passwd> structure are stored in the " |
| 806 |
"buffer I<buf> of size I<buflen>. A pointer to the result (in case of " |
| 807 |
"success) or NULL (in case no entry was found or an error occurred) is stored " |
| 808 |
"in I<*result>." |
| 809 |
msgstr "" |
| 810 |
"Функции B<getpwnam_r>() и B<getpwuid_r>() принимают ту же информацию что и " |
| 811 |
"B<getpwnam>() и B<getpwuid>(), но сохраняют полученную структуру I<passwd> в " |
| 812 |
"пространство, указанное I<pwd>. Строковые поля членов структуры I<passwd> " |
| 813 |
"сохраняются в буфере I<buf> размера I<buflen>. Указатель на результат (при " |
| 814 |
"успешном выполнении) или NULL (если записи отсутствуют или произошла ошибка) " |
| 815 |
"сохраняется в I<*result>." |
| 816 |
|
| 817 |
#. type: SH |
| 818 |
#: debian-trixie debian-unstable |
| 819 |
#, no-wrap |
| 820 |
msgid "NOTE" |
| 821 |
msgstr "ПРИМЕЧАНИЕ" |
| 822 |
|
| 823 |
#. type: Plain text |
| 824 |
#: debian-trixie debian-unstable |
| 825 |
msgid "" |
| 826 |
"The user password database mostly refers to I</etc/passwd>. However, with " |
| 827 |
"recent systems it also refers to network wide databases using NIS, LDAP and " |
| 828 |
"other local files as configured in I</etc/nsswitch.conf>." |
| 829 |
msgstr "" |
| 830 |
|
| 831 |
#. type: TP |
| 832 |
#: debian-trixie debian-unstable |
| 833 |
#, no-wrap |
| 834 |
msgid "I</etc/nsswitch.conf>" |
| 835 |
msgstr "I</etc/nsswitch.conf>" |
| 836 |
|
| 837 |
#. type: Plain text |
| 838 |
#: debian-trixie debian-unstable |
| 839 |
#, fuzzy |
| 840 |
#| msgid "name service switch configuration" |
| 841 |
msgid "System Databases and Name Service Switch configuration file" |
| 842 |
msgstr "настройки диспетчера службы имён" |
| 843 |
|
| 844 |
#. type: Plain text |
| 845 |
#: debian-trixie debian-unstable |
| 846 |
#, fuzzy |
| 847 |
#| msgid "" |
| 848 |
#| "B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 849 |
#| "B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), " |
| 850 |
#| "B<passwd>(5)" |
| 851 |
msgid "" |
| 852 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 853 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), " |
| 854 |
"B<nsswitch.conf>(5), B<passwd>(5)" |
| 855 |
msgstr "" |
| 856 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 857 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)" |
| 858 |
|
| 859 |
#. type: TH |
| 860 |
#: fedora-44 fedora-rawhide |
| 861 |
#, no-wrap |
| 862 |
msgid "2024-12-24" |
| 863 |
msgstr "24 декабря 2024 г." |
| 864 |
|
| 865 |
#. type: TH |
| 866 |
#: fedora-44 fedora-rawhide |
| 867 |
#, no-wrap |
| 868 |
msgid "Linux man-pages 6.13" |
| 869 |
msgstr "Страницы руководства Linux 6.13" |
| 870 |
|
| 871 |
#. type: Plain text |
| 872 |
#: fedora-44 fedora-rawhide |
| 873 |
#, no-wrap |
| 874 |
msgid "" |
| 875 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 876 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 877 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 878 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 879 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 880 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 881 |
msgstr "" |
| 882 |
|
| 883 |
#. type: TH |
| 884 |
#: mageia-cauldron |
| 885 |
#, no-wrap |
| 886 |
msgid "Linux man-pages 6.17" |
| 887 |
msgstr "Страницы руководства Linux 6.17" |
| 888 |
|
| 889 |
#. type: TH |
| 890 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 891 |
#, no-wrap |
| 892 |
msgid "Linux man-pages (unreleased)" |
| 893 |
msgstr "Страницы руководства Linux (не выпущены)" |