| 1 |
# Romanian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Remus-Gabriel Chelu <[email protected]>, 2024, 2025. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.24.0\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 9 |
"PO-Revision-Date: 2025-11-05 13:00+0100\n" |
| 10 |
"Last-Translator: Remus-Gabriel Chelu <[email protected]>\n" |
| 11 |
"Language-Team: Romanian <[email protected]>\n" |
| 12 |
"Language: ro\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " |
| 17 |
"20)) ? 1 : 2;\n" |
| 18 |
"X-Generator: Poedit 3.6\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "getpwnam" |
| 25 |
msgstr "getpwnam" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-08" |
| 32 |
msgstr "8 februarie 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Pagini de manual de Linux 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "NUME" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "getpwnam, getpwnam_r, getpwuid, getpwuid_r - get password file entry" |
| 51 |
msgstr "" |
| 52 |
"getpwnam, getpwnam_r, getpwuid, getpwuid_r - obține intrarea din fișierul de " |
| 53 |
"parole" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "LIBRARY" |
| 60 |
msgstr "BIBLIOTECA" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 64 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 66 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 67 |
|
| 68 |
#. type: SH |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, no-wrap |
| 72 |
msgid "SYNOPSIS" |
| 73 |
msgstr "SINOPSIS" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
#, no-wrap |
| 79 |
msgid "" |
| 80 |
"B<#include E<lt>sys/types.hE<gt>>\n" |
| 81 |
"B<#include E<lt>pwd.hE<gt>>\n" |
| 82 |
msgstr "" |
| 83 |
"B<#include E<lt>sys/types.hE<gt>>\n" |
| 84 |
"B<#include E<lt>pwd.hE<gt>>\n" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
#, no-wrap |
| 90 |
msgid "" |
| 91 |
"B<struct passwd *getpwnam(const char *>I<name>B<);>\n" |
| 92 |
"B<struct passwd *getpwuid(uid_t >I<uid>B<);>\n" |
| 93 |
msgstr "" |
| 94 |
"B<struct passwd *getpwnam(const char *>I<name>B<);>\n" |
| 95 |
"B<struct passwd *getpwuid(uid_t >I<uid>B<);>\n" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 99 |
#: opensuse-tumbleweed |
| 100 |
#, no-wrap |
| 101 |
msgid "" |
| 102 |
"B<int getpwnam_r(>size_t size;\n" |
| 103 |
"B< const char *restrict >I<name>B<,>\n" |
| 104 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 105 |
"B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 106 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 107 |
"B<int getpwuid_r(>size_t size;\n" |
| 108 |
"B< uid_t >I<uid>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 |
msgstr "" |
| 113 |
"B<int getpwnam_r(>size_t size;\n" |
| 114 |
"B< const char *restrict >I<name>B<,>\n" |
| 115 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 116 |
"B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 117 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 118 |
"B<int getpwuid_r(>size_t size;\n" |
| 119 |
"B< uid_t >I<uid>B<,>\n" |
| 120 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 121 |
"B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 122 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 127 |
msgid "" |
| 128 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 129 |
msgstr "" |
| 130 |
"Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc " |
| 131 |
"(consultați B<feature_test_macros>(7)):" |
| 132 |
|
| 133 |
#. type: Plain text |
| 134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 136 |
msgid "B<getpwnam_r>(), B<getpwuid_r>():" |
| 137 |
msgstr "B<getpwnam_r>(), B<getpwuid_r>():" |
| 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 |
#, no-wrap |
| 143 |
msgid "" |
| 144 |
" _POSIX_C_SOURCE\n" |
| 145 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 146 |
msgstr "" |
| 147 |
" _POSIX_C_SOURCE\n" |
| 148 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 149 |
|
| 150 |
#. type: SH |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
#, no-wrap |
| 154 |
msgid "DESCRIPTION" |
| 155 |
msgstr "DESCRIERE" |
| 156 |
|
| 157 |
#. type: Plain text |
| 158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 160 |
msgid "" |
| 161 |
"The B<getpwnam>() function returns a pointer to a structure containing the " |
| 162 |
"broken-out fields of the record in the password database (e.g., the local " |
| 163 |
"password file I</etc/passwd>, NIS, and LDAP) that matches the username " |
| 164 |
"I<name>." |
| 165 |
msgstr "" |
| 166 |
"Funcția B<getpwnam>() returnează un indicator către o structură care conține " |
| 167 |
"câmpurile defalcate ale înregistrării din baza de date de parole (de " |
| 168 |
"exemplu, fișierul local de parole I</etc/passwd>, NIS și LDAP) care " |
| 169 |
"corespunde numelui de utilizator I<name>." |
| 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 |
"The B<getpwuid>() function returns a pointer to a structure containing the " |
| 176 |
"broken-out fields of the record in the password database that matches the " |
| 177 |
"user ID I<uid>." |
| 178 |
msgstr "" |
| 179 |
"Funcția B<getpwuid>() returnează un indicator către o structură care conține " |
| 180 |
"câmpurile defalcate ale înregistrării din baza de date a parolelor care " |
| 181 |
"corespunde ID-ului utilizatorului I<uid>." |
| 182 |
|
| 183 |
#. type: Plain text |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
msgid "The I<passwd> structure is defined in I<E<lt>pwd.hE<gt>> as follows:" |
| 187 |
msgstr "" |
| 188 |
"Structura I<passwd> este definită în I<E<lt>pwd.hE<gt>> după cum urmează:" |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 193 |
#, no-wrap |
| 194 |
msgid "" |
| 195 |
"struct passwd {\n" |
| 196 |
" char *pw_name; /* username */\n" |
| 197 |
" char *pw_passwd; /* user password */\n" |
| 198 |
" uid_t pw_uid; /* user ID */\n" |
| 199 |
" gid_t pw_gid; /* group ID */\n" |
| 200 |
" char *pw_gecos; /* user information */\n" |
| 201 |
" char *pw_dir; /* home directory */\n" |
| 202 |
" char *pw_shell; /* shell program */\n" |
| 203 |
"};\n" |
| 204 |
msgstr "" |
| 205 |
"struct passwd {\n" |
| 206 |
" char *pw_name; /* numele utilizatorului */\n" |
| 207 |
" char *pw_passwd; /* parola utilizatorului */\n" |
| 208 |
" uid_t pw_uid; /* identificatorul utilizatorului */\n" |
| 209 |
" gid_t pw_gid; /* identificatorul grupului */\n" |
| 210 |
" char *pw_gecos; /* informații despre utilizator */\n" |
| 211 |
" char *pw_dir; /* directorul personal „acasă” */\n" |
| 212 |
" char *pw_shell; /* programul shell */\n" |
| 213 |
"};\n" |
| 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 "See B<passwd>(5) for more information about these fields." |
| 219 |
msgstr "" |
| 220 |
"Consultați B<passwd>(5) pentru mai multe informații despre aceste câmpuri." |
| 221 |
|
| 222 |
#. type: Plain text |
| 223 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 224 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
msgid "" |
| 226 |
"The B<getpwnam_r>() and B<getpwuid_r>() functions obtain the same " |
| 227 |
"information as B<getpwnam>() and B<getpwuid>(), but store the retrieved " |
| 228 |
"I<passwd> structure in the space pointed to by I<pwd>. The string fields " |
| 229 |
"pointed to by the members of the I<passwd> structure are stored in the " |
| 230 |
"buffer I<buf> of size I<size>. A pointer to the result (in case of success) " |
| 231 |
"or NULL (in case no entry was found or an error occurred) is stored in " |
| 232 |
"I<*result>." |
| 233 |
msgstr "" |
| 234 |
"Funcțiile B<getpwnam_r>() și B<getpwuid_r>() obțin aceleași informații ca " |
| 235 |
"B<getpwnam>() și B<getpwuid>(), dar stochează structura I<passwd> recuperată " |
| 236 |
"în spațiul indicat de I<pwd>. Câmpurile de șir de caractere indicate de " |
| 237 |
"membrii structurii I<passwd> sunt stocate în memoria tampon I<buf> de " |
| 238 |
"dimensiune I<size>. Un indicator către rezultat (în caz de succes) sau NULL " |
| 239 |
"(în cazul în care nu a fost găsită nicio intrare sau s-a produs o eroare) " |
| 240 |
"este stocat în I<*result>." |
| 241 |
|
| 242 |
#. type: Plain text |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
msgid "The call" |
| 246 |
msgstr "Apelarea" |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 251 |
#, no-wrap |
| 252 |
msgid "sysconf(_SC_GETPW_R_SIZE_MAX)\n" |
| 253 |
msgstr "sysconf(_SC_GETPW_R_SIZE_MAX)\n" |
| 254 |
|
| 255 |
#. type: Plain text |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
msgid "" |
| 259 |
"returns either -1, without changing I<errno>, or an initial suggested size " |
| 260 |
"for I<buf>. (If this size is too small, the call fails with B<ERANGE>, in " |
| 261 |
"which case the caller can retry with a larger buffer.)" |
| 262 |
msgstr "" |
| 263 |
"returnează fie -1, fără a modifica I<errno>, fie o dimensiune inițială " |
| 264 |
"sugerată pentru I<buf>; (dacă această dimensiune este prea mică, apelul " |
| 265 |
"eșuează cu B<ERANGE>, caz în care apelantul poate încerca din nou cu o " |
| 266 |
"memorie tampon mai mare)." |
| 267 |
|
| 268 |
#. type: SH |
| 269 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 270 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 271 |
#, no-wrap |
| 272 |
msgid "RETURN VALUE" |
| 273 |
msgstr "VALOAREA RETURNATĂ" |
| 274 |
|
| 275 |
#. type: Plain text |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
msgid "" |
| 279 |
"The B<getpwnam>() and B<getpwuid>() functions return a pointer to a " |
| 280 |
"I<passwd> structure, or NULL if the matching entry is not found or an error " |
| 281 |
"occurs. If an error occurs, I<errno> is set to indicate the error. If one " |
| 282 |
"wants to check I<errno> after the call, it should be set to zero before the " |
| 283 |
"call." |
| 284 |
msgstr "" |
| 285 |
"Funcțiile B<getpwnam>() și B<getpwuid>() returnează un indicator către o " |
| 286 |
"structură I<passwd> sau NULL dacă intrarea corespunzătoare nu este găsită " |
| 287 |
"sau dacă apare o eroare. Dacă apare o eroare, I<errno> este configurată " |
| 288 |
"pentru a indica eroarea. Dacă se dorește verificarea I<errno> după apel, " |
| 289 |
"aceasta trebuie să fie stabilită la zero înainte de apel." |
| 290 |
|
| 291 |
#. type: Plain text |
| 292 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 293 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 294 |
msgid "" |
| 295 |
"The return value may point to a static area, and may be overwritten by " |
| 296 |
"subsequent calls to B<getpwent>(3), B<getpwnam>(), or B<getpwuid>(). (Do " |
| 297 |
"not pass the returned pointer to B<free>(3).)" |
| 298 |
msgstr "" |
| 299 |
"Valoarea returnată poate indica o zonă statică și poate fi suprascrisă prin " |
| 300 |
"apeluri ulterioare la B<getpwent>(3), B<getpwnam>() sau B<getpwuid>(). (Nu " |
| 301 |
"pasați indicatorul returnat la B<free>(3).)" |
| 302 |
|
| 303 |
#. type: Plain text |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
msgid "" |
| 307 |
"On success, B<getpwnam_r>() and B<getpwuid_r>() return zero, and set " |
| 308 |
"I<*result> to I<pwd>. If no matching password record was found, these " |
| 309 |
"functions return 0 and store NULL in I<*result>. In case of error, an error " |
| 310 |
"number is returned, and NULL is stored in I<*result>." |
| 311 |
msgstr "" |
| 312 |
"În caz de succes, funcțiile B<getpwnam_r>() și B<getpwuid_r>() returnează " |
| 313 |
"zero și stabilesc I<*result> la I<pwd>. Dacă nu a fost găsită nicio " |
| 314 |
"înregistrare de parolă corespunzătoare, aceste funcții returnează 0 și " |
| 315 |
"stochează NULL în I<*result>. În caz de eroare, se returnează un număr de " |
| 316 |
"eroare, iar NULL este stocat în I<*rezultat>." |
| 317 |
|
| 318 |
#. type: SH |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
#, no-wrap |
| 322 |
msgid "ERRORS" |
| 323 |
msgstr "ERORI-IEȘIRE" |
| 324 |
|
| 325 |
#. type: TP |
| 326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
#, no-wrap |
| 329 |
msgid "B<0> or B<ENOENT> or B<ESRCH> or B<EBADF> or B<EPERM> or ..." |
| 330 |
msgstr "B<0> sau B<ENOENT> sau B<ESRCH> sau B<EBADF> sau B<EPERM> sau B<EPERM> sau ..." |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
msgid "The given I<name> or I<uid> was not found." |
| 336 |
msgstr "Datele I<name> sau I<uid> specificate nu au fost găsite." |
| 337 |
|
| 338 |
#. type: TP |
| 339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
#, no-wrap |
| 342 |
msgid "B<EINTR>" |
| 343 |
msgstr "B<EINTR>" |
| 344 |
|
| 345 |
#. type: Plain text |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
msgid "A signal was caught; see B<signal>(7)." |
| 349 |
msgstr "A fost captat un semnal; a se vedea B<signal>(7)." |
| 350 |
|
| 351 |
#. type: TP |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
#, no-wrap |
| 355 |
msgid "B<EIO>" |
| 356 |
msgstr "B<EIO>" |
| 357 |
|
| 358 |
#. type: Plain text |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
msgid "I/O error." |
| 362 |
msgstr "Eroare de In/Ieș." |
| 363 |
|
| 364 |
#. type: TP |
| 365 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 366 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 367 |
#, no-wrap |
| 368 |
msgid "B<EMFILE>" |
| 369 |
msgstr "B<EMFILE>" |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
msgid "" |
| 375 |
"The per-process limit on the number of open file descriptors has been " |
| 376 |
"reached." |
| 377 |
msgstr "" |
| 378 |
"Limita per proces a numărului de descriptori de fișiere deschise a fost " |
| 379 |
"atinsă." |
| 380 |
|
| 381 |
#. type: TP |
| 382 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 383 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 384 |
#, no-wrap |
| 385 |
msgid "B<ENFILE>" |
| 386 |
msgstr "B<ENFILE>" |
| 387 |
|
| 388 |
#. type: Plain text |
| 389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 391 |
msgid "" |
| 392 |
"The system-wide limit on the total number of open files has been reached." |
| 393 |
msgstr "" |
| 394 |
"Limita la nivel de sistem a numărului total de fișiere deschise a fost " |
| 395 |
"atinsă." |
| 396 |
|
| 397 |
#. type: TP |
| 398 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 399 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 400 |
#, no-wrap |
| 401 |
msgid "B<ENOMEM>" |
| 402 |
msgstr "B<ENOMEM>" |
| 403 |
|
| 404 |
#. #-#-#-#-# archlinux: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 405 |
#. not in POSIX |
| 406 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 407 |
#. type: Plain text |
| 408 |
#. #-#-#-#-# debian-trixie: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 409 |
#. not in POSIX |
| 410 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 411 |
#. type: Plain text |
| 412 |
#. #-#-#-#-# debian-unstable: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 413 |
#. not in POSIX |
| 414 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 415 |
#. type: Plain text |
| 416 |
#. #-#-#-#-# fedora-44: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 417 |
#. not in POSIX |
| 418 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 419 |
#. type: Plain text |
| 420 |
#. #-#-#-#-# fedora-rawhide: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 421 |
#. not in POSIX |
| 422 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 423 |
#. type: Plain text |
| 424 |
#. #-#-#-#-# mageia-cauldron: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 425 |
#. not in POSIX |
| 426 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 427 |
#. type: Plain text |
| 428 |
#. #-#-#-#-# opensuse-leap-16-1: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 429 |
#. not in POSIX |
| 430 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 431 |
#. type: Plain text |
| 432 |
#. #-#-#-#-# opensuse-tumbleweed: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 433 |
#. not in POSIX |
| 434 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 435 |
#. type: Plain text |
| 436 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 437 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 438 |
msgid "Insufficient memory to allocate I<passwd> structure." |
| 439 |
msgstr "Memorie insuficientă pentru alocarea structurii I<passwd>." |
| 440 |
|
| 441 |
#. type: TP |
| 442 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 443 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 444 |
#, no-wrap |
| 445 |
msgid "B<ERANGE>" |
| 446 |
msgstr "B<ERANGE>" |
| 447 |
|
| 448 |
#. type: Plain text |
| 449 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 450 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 451 |
msgid "Insufficient buffer space supplied." |
| 452 |
msgstr "Spațiul de memorie tampon furnizat este insuficient." |
| 453 |
|
| 454 |
#. type: SH |
| 455 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 456 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 457 |
#, no-wrap |
| 458 |
msgid "FILES" |
| 459 |
msgstr "FIȘIERE" |
| 460 |
|
| 461 |
#. type: TP |
| 462 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 463 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 464 |
#, no-wrap |
| 465 |
msgid "I</etc/passwd>" |
| 466 |
msgstr "I</etc/passwd>" |
| 467 |
|
| 468 |
#. type: Plain text |
| 469 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 470 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 471 |
msgid "local password database file" |
| 472 |
msgstr "fișierul local al bazei de date de parole" |
| 473 |
|
| 474 |
#. type: SH |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
#, no-wrap |
| 478 |
msgid "ATTRIBUTES" |
| 479 |
msgstr "ATRIBUTE" |
| 480 |
|
| 481 |
#. type: Plain text |
| 482 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 483 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 484 |
msgid "" |
| 485 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 486 |
msgstr "" |
| 487 |
"Pentru o explicație a termenilor folosiți în această secțiune, a se vedea " |
| 488 |
"B<attributes>(7)." |
| 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 "Interface" |
| 495 |
msgstr "Interfață" |
| 496 |
|
| 497 |
#. type: tbl table |
| 498 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 499 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
#, no-wrap |
| 501 |
msgid "Attribute" |
| 502 |
msgstr "Atribut" |
| 503 |
|
| 504 |
#. type: tbl table |
| 505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
#, no-wrap |
| 508 |
msgid "Value" |
| 509 |
msgstr "Valoare" |
| 510 |
|
| 511 |
#. type: tbl table |
| 512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 514 |
#, no-wrap |
| 515 |
msgid ".na\n" |
| 516 |
msgstr ".na\n" |
| 517 |
|
| 518 |
#. type: tbl table |
| 519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 521 |
#, no-wrap |
| 522 |
msgid ".nh\n" |
| 523 |
msgstr ".nh\n" |
| 524 |
|
| 525 |
#. type: tbl table |
| 526 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 527 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 528 |
#, no-wrap |
| 529 |
msgid "B<getpwnam>()" |
| 530 |
msgstr "B<getpwnam>()" |
| 531 |
|
| 532 |
#. type: tbl table |
| 533 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 534 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 535 |
#, no-wrap |
| 536 |
msgid "Thread safety" |
| 537 |
msgstr "Siguranța firelor" |
| 538 |
|
| 539 |
#. type: tbl table |
| 540 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 541 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
#, no-wrap |
| 543 |
msgid "MT-Unsafe race:pwnam locale" |
| 544 |
msgstr "MT-Unsafe race:pwnam locale" |
| 545 |
|
| 546 |
#. type: tbl table |
| 547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 549 |
#, no-wrap |
| 550 |
msgid "B<getpwuid>()" |
| 551 |
msgstr "B<getpwuid>()" |
| 552 |
|
| 553 |
#. type: tbl table |
| 554 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 555 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 556 |
#, no-wrap |
| 557 |
msgid "MT-Unsafe race:pwuid locale" |
| 558 |
msgstr "MT-Unsafe race:pwuid locale" |
| 559 |
|
| 560 |
#. type: tbl table |
| 561 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 562 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 563 |
#, no-wrap |
| 564 |
msgid "" |
| 565 |
"B<getpwnam_r>(),\n" |
| 566 |
"B<getpwuid_r>()" |
| 567 |
msgstr "" |
| 568 |
"B<getpwnam_r>(),\n" |
| 569 |
"B<getpwuid_r>()" |
| 570 |
|
| 571 |
#. type: tbl table |
| 572 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 573 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 574 |
#, no-wrap |
| 575 |
msgid "MT-Safe locale" |
| 576 |
msgstr "MT-Safe locale" |
| 577 |
|
| 578 |
#. type: SH |
| 579 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 580 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 581 |
#, no-wrap |
| 582 |
msgid "VERSIONS" |
| 583 |
msgstr "VERSIUNI" |
| 584 |
|
| 585 |
#. type: Plain text |
| 586 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 587 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 588 |
msgid "" |
| 589 |
"The I<pw_gecos> field is not specified in POSIX, but is present on most " |
| 590 |
"implementations." |
| 591 |
msgstr "" |
| 592 |
"Câmpul I<pw_gecos> nu este specificat în POSIX, dar este prezent în " |
| 593 |
"majoritatea implementărilor." |
| 594 |
|
| 595 |
#. type: SH |
| 596 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 597 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 598 |
#, no-wrap |
| 599 |
msgid "STANDARDS" |
| 600 |
msgstr "STANDARDE" |
| 601 |
|
| 602 |
#. type: Plain text |
| 603 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 604 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 605 |
msgid "POSIX.1-2008." |
| 606 |
msgstr "POSIX.1-2008." |
| 607 |
|
| 608 |
#. type: SH |
| 609 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 610 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 611 |
#, no-wrap |
| 612 |
msgid "HISTORY" |
| 613 |
msgstr "ISTORIC" |
| 614 |
|
| 615 |
#. type: Plain text |
| 616 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 617 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 618 |
msgid "POSIX.1-2001, SVr4, 4.3BSD." |
| 619 |
msgstr "POSIX.1-2001, SVr4, 4.3BSD." |
| 620 |
|
| 621 |
#. type: SH |
| 622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 624 |
#, no-wrap |
| 625 |
msgid "NOTES" |
| 626 |
msgstr "NOTE" |
| 627 |
|
| 628 |
#. more precisely: |
| 629 |
#. AIX 5.1 - gives ESRCH |
| 630 |
#. OSF1 4.0g - gives EWOULDBLOCK |
| 631 |
#. libc, glibc up to glibc 2.6, Irix 6.5 - give ENOENT |
| 632 |
#. since glibc 2.7 - give 0 |
| 633 |
#. FreeBSD 4.8, OpenBSD 3.2, NetBSD 1.6 - give EPERM |
| 634 |
#. SunOS 5.8 - gives EBADF |
| 635 |
#. Tru64 5.1b, HP-UX-11i, SunOS 5.7 - give 0 |
| 636 |
#. type: Plain text |
| 637 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 638 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 639 |
msgid "" |
| 640 |
"The formulation given above under \"RETURN VALUE\" is from POSIX.1-2001. It " |
| 641 |
"does not call \"not found\" an error, and hence does not specify what value " |
| 642 |
"I<errno> might have in this situation. But that makes it impossible to " |
| 643 |
"recognize errors. One might argue that according to POSIX I<errno> should " |
| 644 |
"be left unchanged if an entry is not found. Experiments on various UNIX-" |
| 645 |
"like systems show that lots of different values occur in this situation: 0, " |
| 646 |
"ENOENT, EBADF, ESRCH, EWOULDBLOCK, EPERM, and probably others." |
| 647 |
msgstr "" |
| 648 |
"Formularea de mai sus de la „RETURN VALUE” este din POSIX.1-2001. Aceasta nu " |
| 649 |
"numește „not found” o eroare și, prin urmare, nu specifică ce valoare ar " |
| 650 |
"putea avea I<errno> în această situație. Dar acest lucru face imposibilă " |
| 651 |
"recunoașterea erorilor. S-ar putea argumenta că, în conformitate cu POSIX, " |
| 652 |
"I<errno> ar trebui lăsat neschimbată dacă o intrare nu este găsită. " |
| 653 |
"Experimentele pe diferite sisteme de tip UNIX arată că în această situație " |
| 654 |
"apar o mulțime de valori diferite: 0, ENOENT, EBADF, ESRCH, EWOULDBLOCK, " |
| 655 |
"EPERM și probabil altele." |
| 656 |
|
| 657 |
#. type: Plain text |
| 658 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 659 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 660 |
msgid "" |
| 661 |
"The I<pw_dir> field contains the name of the initial working directory of " |
| 662 |
"the user. Login programs use the value of this field to initialize the " |
| 663 |
"B<HOME> environment variable for the login shell. An application that wants " |
| 664 |
"to determine its user's home directory should inspect the value of B<HOME> " |
| 665 |
"(rather than the value I<getpwuid(getuid())-E<gt>pw_dir>) since this allows " |
| 666 |
"the user to modify their notion of \"the home directory\" during a login " |
| 667 |
"session. To determine the (initial) home directory of another user, it is " |
| 668 |
"necessary to use I<getpwnam(\"username\")-E<gt>pw_dir> or similar." |
| 669 |
msgstr "" |
| 670 |
"Câmpul I<pw_dir> conține numele directorului de lucru inițial al " |
| 671 |
"utilizatorului. Programele de autentificare utilizează valoarea acestui câmp " |
| 672 |
"pentru a inițializa variabila de mediu B<HOME> pentru shell-ul de " |
| 673 |
"autentificare. O aplicație care dorește să determine directorul inițial al " |
| 674 |
"utilizatorului său ar trebui să inspecteze valoarea lui B<HOME> (mai degrabă " |
| 675 |
"decât valoarea I<getpwuid(getuid())-E<gt>pw_dir>) deoarece aceasta permite " |
| 676 |
"utilizatorului să își modifice noțiunea de „director personal” în timpul " |
| 677 |
"unei sesiuni de conectare. Pentru a determina directorul personal (inițial) " |
| 678 |
"al unui alt utilizator, este necesar să se utilizeze " |
| 679 |
"I<getpwnam(\"username\")-E<gt>pw_dir> sau ceva similar." |
| 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 "EXEMPLE" |
| 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 |
"Programul de mai jos demonstrează utilizarea B<getpwnam_r>() pentru a găsi " |
| 696 |
"numele de utilizator complet și ID-ul de utilizator pentru numele de " |
| 697 |
"utilizator furnizat ca argument al liniei de comandă." |
| 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 |
"#include E<lt>errno.hE<gt>\n" |
| 752 |
"#include E<lt>pwd.hE<gt>\n" |
| 753 |
"#include E<lt>stdint.hE<gt>\n" |
| 754 |
"#include E<lt>stdio.hE<gt>\n" |
| 755 |
"#include E<lt>stdlib.hE<gt>\n" |
| 756 |
"#include E<lt>unistd.hE<gt>\n" |
| 757 |
"\\&\n" |
| 758 |
"int\n" |
| 759 |
"main(int argc, char *argv[])\n" |
| 760 |
"{\n" |
| 761 |
" struct passwd pwd;\n" |
| 762 |
" struct passwd *result;\n" |
| 763 |
" char *buf;\n" |
| 764 |
" long bufsize;\n" |
| 765 |
" int s;\n" |
| 766 |
"\\&\n" |
| 767 |
" if (argc != 2) {\n" |
| 768 |
" fprintf(stderr, \"Utilizare: %s nume-utilizator\\[rs]n\", argv[0]);\n" |
| 769 |
" exit(EXIT_FAILURE);\n" |
| 770 |
" }\n" |
| 771 |
"\\&\n" |
| 772 |
" bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);\n" |
| 773 |
" if (bufsize == -1) /* Valoarea a fost indeterminată */\n" |
| 774 |
" bufsize = 16384; /* Ar trebui să fie mai mult decât suficient */\n" |
| 775 |
"\\&\n" |
| 776 |
" buf = malloc(bufsize);\n" |
| 777 |
" if (buf == NULL) {\n" |
| 778 |
" perror(\"malloc\");\n" |
| 779 |
" exit(EXIT_FAILURE);\n" |
| 780 |
" }\n" |
| 781 |
"\\&\n" |
| 782 |
" s = getpwnam_r(argv[1], &pwd, buf, bufsize, &result);\n" |
| 783 |
" if (result == NULL) {\n" |
| 784 |
" if (s == 0)\n" |
| 785 |
" printf(\"Nu s-a găsit\\[rs]n\");\n" |
| 786 |
" else {\n" |
| 787 |
" errno = s;\n" |
| 788 |
" perror(\"getpwnam_r\");\n" |
| 789 |
" }\n" |
| 790 |
" exit(EXIT_FAILURE);\n" |
| 791 |
" }\n" |
| 792 |
"\\&\n" |
| 793 |
" printf(\"Nume: %s; UID: %jd\\[rs]n\", pwd.pw_gecos,\n" |
| 794 |
" (intmax_t) pwd.pw_uid);\n" |
| 795 |
" exit(EXIT_SUCCESS);\n" |
| 796 |
"}\n" |
| 797 |
|
| 798 |
#. SRC END |
| 799 |
#. type: SH |
| 800 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 801 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 802 |
#, no-wrap |
| 803 |
msgid "SEE ALSO" |
| 804 |
msgstr "CONSULTAȚI ȘI" |
| 805 |
|
| 806 |
#. type: Plain text |
| 807 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 808 |
#: opensuse-tumbleweed |
| 809 |
msgid "" |
| 810 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 811 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)" |
| 812 |
msgstr "" |
| 813 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 814 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)" |
| 815 |
|
| 816 |
#. type: TH |
| 817 |
#: debian-trixie |
| 818 |
#, no-wrap |
| 819 |
msgid "2024-06-15" |
| 820 |
msgstr "15 iunie 2024" |
| 821 |
|
| 822 |
#. type: TH |
| 823 |
#: debian-trixie |
| 824 |
#, no-wrap |
| 825 |
msgid "Linux man-pages 6.9.1" |
| 826 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 827 |
|
| 828 |
#. type: Plain text |
| 829 |
#: debian-trixie |
| 830 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 831 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 832 |
|
| 833 |
#. type: Plain text |
| 834 |
#: debian-trixie |
| 835 |
#, no-wrap |
| 836 |
msgid "" |
| 837 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 838 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 839 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 840 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 841 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 842 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 843 |
msgstr "" |
| 844 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 845 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 846 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 847 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 848 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 849 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 850 |
|
| 851 |
#. type: Plain text |
| 852 |
#: debian-trixie |
| 853 |
msgid "" |
| 854 |
"The B<getpwnam_r>() and B<getpwuid_r>() functions obtain the same " |
| 855 |
"information as B<getpwnam>() and B<getpwuid>(), but store the retrieved " |
| 856 |
"I<passwd> structure in the space pointed to by I<pwd>. The string fields " |
| 857 |
"pointed to by the members of the I<passwd> structure are stored in the " |
| 858 |
"buffer I<buf> of size I<buflen>. A pointer to the result (in case of " |
| 859 |
"success) or NULL (in case no entry was found or an error occurred) is stored " |
| 860 |
"in I<*result>." |
| 861 |
msgstr "" |
| 862 |
"Funcțiile B<getpwnam_r>() și B<getpwuid_r>() obțin aceleași informații ca " |
| 863 |
"B<getpwnam>() și B<getpwuid>(), dar stochează structura I<passwd> recuperată " |
| 864 |
"în spațiul indicat de I<pwd>. Câmpurile de șir de caractere indicate de " |
| 865 |
"membrii structurii I<passwd> sunt stocate în memoria tampon I<buf> de " |
| 866 |
"dimensiune I<buflen>. Un indicator către rezultat (în caz de succes) sau " |
| 867 |
"NULL (în cazul în care nu a fost găsită nicio intrare sau s-a produs o " |
| 868 |
"eroare) este stocat în I<*result>." |
| 869 |
|
| 870 |
#. type: SH |
| 871 |
#: debian-trixie debian-unstable |
| 872 |
#, no-wrap |
| 873 |
msgid "NOTE" |
| 874 |
msgstr "NOTĂ" |
| 875 |
|
| 876 |
#. type: Plain text |
| 877 |
#: debian-trixie debian-unstable |
| 878 |
msgid "" |
| 879 |
"The user password database mostly refers to I</etc/passwd>. However, with " |
| 880 |
"recent systems it also refers to network wide databases using NIS, LDAP and " |
| 881 |
"other local files as configured in I</etc/nsswitch.conf>." |
| 882 |
msgstr "" |
| 883 |
"Baza de date a parolelor utilizatorilor se referă în principal la I</etc/" |
| 884 |
"passwd>. Cu toate acestea, în cazul sistemelor recente, aceasta se referă, " |
| 885 |
"de asemenea, la baze de date la nivel de rețea care utilizează NIS, LDAP și " |
| 886 |
"alte fișiere locale configurate în I</etc/nsswitch.conf>." |
| 887 |
|
| 888 |
#. type: TP |
| 889 |
#: debian-trixie debian-unstable |
| 890 |
#, no-wrap |
| 891 |
msgid "I</etc/nsswitch.conf>" |
| 892 |
msgstr "I</etc/nsswitch.conf>" |
| 893 |
|
| 894 |
#. type: Plain text |
| 895 |
#: debian-trixie debian-unstable |
| 896 |
msgid "System Databases and Name Service Switch configuration file" |
| 897 |
msgstr "" |
| 898 |
"Baze de date de sistem și fișier de configurare a comutatorului serviciului " |
| 899 |
"de nume („Name Service Switch”: NSS)" |
| 900 |
|
| 901 |
#. type: Plain text |
| 902 |
#: debian-trixie debian-unstable |
| 903 |
msgid "" |
| 904 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 905 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), " |
| 906 |
"B<nsswitch.conf>(5), B<passwd>(5)" |
| 907 |
msgstr "" |
| 908 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 909 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), " |
| 910 |
"B<nsswitch.conf>(5), B<passwd>(5)" |
| 911 |
|
| 912 |
#. type: TH |
| 913 |
#: fedora-44 fedora-rawhide |
| 914 |
#, no-wrap |
| 915 |
msgid "2024-12-24" |
| 916 |
msgstr "24 decembrie 2024" |
| 917 |
|
| 918 |
#. type: TH |
| 919 |
#: fedora-44 fedora-rawhide |
| 920 |
#, no-wrap |
| 921 |
msgid "Linux man-pages 6.13" |
| 922 |
msgstr "Pagini de manual de Linux 6.13" |
| 923 |
|
| 924 |
#. type: Plain text |
| 925 |
#: fedora-44 fedora-rawhide |
| 926 |
#, no-wrap |
| 927 |
msgid "" |
| 928 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 929 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 930 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 931 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 932 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 933 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 934 |
msgstr "" |
| 935 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 936 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 937 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 938 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 939 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 940 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 941 |
|
| 942 |
#. type: TH |
| 943 |
#: mageia-cauldron |
| 944 |
#, no-wrap |
| 945 |
msgid "Linux man-pages 6.17" |
| 946 |
msgstr "Pagini de manual de Linux 6.17" |
| 947 |
|
| 948 |
#. type: TH |
| 949 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 950 |
#, no-wrap |
| 951 |
msgid "Linux man-pages (unreleased)" |
| 952 |
msgstr "Pagini de manual Linux (nepublicate)" |