| 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]>, 2025. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.26.0\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:23+0200\n" |
| 9 |
"PO-Revision-Date: 2025-11-04 19:20+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 "dup" |
| 25 |
msgstr "dup" |
| 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 "dup, dup2, dup3 - duplicate a file descriptor" |
| 51 |
msgstr "dup, dup2, dup3 - duplică un descriptor de fișier" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "BIBLIOTECA" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "SINOPSIS" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "B<#include E<lt>unistd.hE<gt>>\n" |
| 78 |
msgstr "B<#include E<lt>unistd.hE<gt>>\n" |
| 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 "" |
| 85 |
"B<int dup(int >I<oldfd>B<);>\n" |
| 86 |
"B<int dup2(int >I<oldfd>B<, int >I<newfd>B<);>\n" |
| 87 |
msgstr "" |
| 88 |
"B<int dup(int >I<oldfd>B<);>\n" |
| 89 |
"B<int dup2(int >I<oldfd>B<, int >I<newfd>B<);>\n" |
| 90 |
|
| 91 |
#. type: Plain text |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
#, no-wrap |
| 95 |
msgid "" |
| 96 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 97 |
"B<#include E<lt>fcntl.hE<gt>> /* Definition of B<O_*> constants */\n" |
| 98 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 99 |
msgstr "" |
| 100 |
"B<#define _GNU_SOURCE> /* Consultați feature_test_macros(7) */\n" |
| 101 |
"B<#include E<lt>fcntl.hE<gt>> /* Definirea constantelor B<O_*> */\n" |
| 102 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 103 |
|
| 104 |
#. type: Plain text |
| 105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
#, no-wrap |
| 108 |
msgid "B<int dup3(int >I<oldfd>B<, int >I<newfd>B<, int >I<flags>B<);>\n" |
| 109 |
msgstr "B<int dup3(int >I<oldfd>B<, int >I<newfd>B<, int >I<flags>B<);>\n" |
| 110 |
|
| 111 |
#. type: SH |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
#, no-wrap |
| 115 |
msgid "DESCRIPTION" |
| 116 |
msgstr "DESCRIERE" |
| 117 |
|
| 118 |
#. type: Plain text |
| 119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 121 |
msgid "" |
| 122 |
"The B<dup>() system call allocates a new file descriptor that refers to the " |
| 123 |
"same open file description as the descriptor I<oldfd>. (For an explanation " |
| 124 |
"of open file descriptions, see B<open>(2).) The new file descriptor number " |
| 125 |
"is guaranteed to be the lowest-numbered file descriptor that was unused in " |
| 126 |
"the calling process." |
| 127 |
msgstr "" |
| 128 |
"Apelul de sistem B<dup>() alocă un nou descriptor de fișier care se referă " |
| 129 |
"la aceeași descriere de fișier deschis ca descriptorul I<oldfd> (pentru o " |
| 130 |
"explicație a descrierilor de fișiere deschise, consultați B<open>(2)). " |
| 131 |
"Numărul noului descriptor de fișier este garantat a fi cel mai mic " |
| 132 |
"descriptor de fișier care nu a fost utilizat în procesul apelant." |
| 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 |
msgid "" |
| 138 |
"After a successful return, the old and new file descriptors may be used " |
| 139 |
"interchangeably. Since the two file descriptors refer to the same open file " |
| 140 |
"description, they share file offset and file status flags; for example, if " |
| 141 |
"the file offset is modified by using B<lseek>(2) on one of the file " |
| 142 |
"descriptors, the offset is also changed for the other file descriptor." |
| 143 |
msgstr "" |
| 144 |
"După o returnare reușită, descriptorii de fișier vechi și nou pot fi " |
| 145 |
"utilizați în mod interschimbabil. Deoarece cei doi descriptori de fișier se " |
| 146 |
"referă la aceeași descriere de fișier deschis, aceștia au în comun " |
| 147 |
"indicatorii de poziție și de stare a fișierului; de exemplu, dacă poziția " |
| 148 |
"fișierului este modificată prin utilizarea B<lseek>(2) pe unul dintre " |
| 149 |
"descriptorii de fișier, poziția este modificată și pentru celălalt " |
| 150 |
"descriptor de fișier." |
| 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 two file descriptors do not share file descriptor flags (the close-on-" |
| 157 |
"exec flag). The close-on-exec flag (B<FD_CLOEXEC>; see B<fcntl>(2)) for " |
| 158 |
"the duplicate descriptor is off." |
| 159 |
msgstr "" |
| 160 |
"Cei doi descriptori de fișier nu au în comun fanioanele descriptorului de " |
| 161 |
"fișier (fanionul close-on-exec). Fanionul close-on-exec (B<FD_CLOEXEC>; a " |
| 162 |
"se vedea B<fcntl>(2)) pentru descriptorul duplicat este dezactivat." |
| 163 |
|
| 164 |
#. type: SS |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
#, no-wrap |
| 168 |
msgid "dup2()" |
| 169 |
msgstr "dup2()" |
| 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<dup2>() system call performs the same task as B<dup>(), but instead " |
| 176 |
"of using the lowest-numbered unused file descriptor, it uses the file " |
| 177 |
"descriptor number specified in I<newfd>. In other words, the file " |
| 178 |
"descriptor I<newfd> is adjusted so that it now refers to the same open file " |
| 179 |
"description as I<oldfd>." |
| 180 |
msgstr "" |
| 181 |
"Apelul de sistem B<dup2>() îndeplinește aceeași sarcină ca și B<dup>(), dar " |
| 182 |
"în loc să utilizeze descriptorul de fișier neutilizat cu cel mai mic număr, " |
| 183 |
"utilizează numărul descriptorului de fișier specificat în I<newfd>. Cu alte " |
| 184 |
"cuvinte, descriptorul de fișier I<newfd> este ajustat astfel încât să se " |
| 185 |
"refere acum la aceeași descriere de fișier deschis ca I<oldfd>." |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
msgid "" |
| 191 |
"If the file descriptor I<newfd> was previously open, it is closed before " |
| 192 |
"being reused; the close is performed silently (i.e., any errors during the " |
| 193 |
"close are not reported by B<dup2>())." |
| 194 |
msgstr "" |
| 195 |
"În cazul în care descriptorul de fișier I<newfd> a fost deschis anterior, " |
| 196 |
"acesta este închis înainte de a fi reutilizat; închiderea este efectuată în " |
| 197 |
"mod silențios (de exemplu, eventualele erori din timpul închiderii nu sunt " |
| 198 |
"raportate de B<dup2>())." |
| 199 |
|
| 200 |
#. type: Plain text |
| 201 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 202 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 203 |
msgid "" |
| 204 |
"The steps of closing and reusing the file descriptor I<newfd> are performed " |
| 205 |
"I<atomically>. This is important, because trying to implement equivalent " |
| 206 |
"functionality using B<close>(2) and B<dup>() would be subject to race " |
| 207 |
"conditions, whereby I<newfd> might be reused between the two steps. Such " |
| 208 |
"reuse could happen because the main program is interrupted by a signal " |
| 209 |
"handler that allocates a file descriptor, or because a parallel thread " |
| 210 |
"allocates a file descriptor." |
| 211 |
msgstr "" |
| 212 |
"Etapele de închidere și reutilizare a descriptorului de fișier I<newfd> sunt " |
| 213 |
"efectuate I<atomic>. Acest lucru este important, deoarece încercarea de a " |
| 214 |
"pune în aplicare o funcționalitate echivalentă folosind B<close>(2) și " |
| 215 |
"B<dup>() ar fi supusă unor condiții de cursă, prin care I<newfd> ar putea fi " |
| 216 |
"reutilizat între cele două etape. O astfel de reutilizare ar putea avea loc " |
| 217 |
"deoarece programul principal este întrerupt de un gestionar de semnal care " |
| 218 |
"alocă un descriptor de fișier sau deoarece un fir paralel alocă un " |
| 219 |
"descriptor de fișier." |
| 220 |
|
| 221 |
#. type: Plain text |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
msgid "Note the following points:" |
| 225 |
msgstr "Rețineți următoarele puncte:" |
| 226 |
|
| 227 |
#. type: IP |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "\\[bu]" |
| 232 |
msgstr "\\[bu]" |
| 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 |
"If I<oldfd> is not a valid file descriptor, then the call fails, and " |
| 239 |
"I<newfd> is not closed." |
| 240 |
msgstr "" |
| 241 |
"Dacă I<oldfd> nu este un descriptor de fișier valid, apelul eșuează, iar " |
| 242 |
"I<newfd> nu este închis." |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
msgid "" |
| 248 |
"If I<oldfd> is a valid file descriptor, and I<newfd> has the same value as " |
| 249 |
"I<oldfd>, then B<dup2>() does nothing, and returns I<newfd>." |
| 250 |
msgstr "" |
| 251 |
"Dacă I<oldfd> este un descriptor de fișier valid, iar I<newfd> are aceeași " |
| 252 |
"valoare ca I<oldfd>, atunci B<dup2>() nu face nimic și returnează I<newfd>." |
| 253 |
|
| 254 |
#. type: SS |
| 255 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 256 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 257 |
#, no-wrap |
| 258 |
msgid "dup3()" |
| 259 |
msgstr "dup3()" |
| 260 |
|
| 261 |
#. type: Plain text |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
msgid "B<dup3>() is the same as B<dup2>(), except that:" |
| 265 |
msgstr "B<dup3>() este la fel ca B<dup2>(), cu excepția faptului că:" |
| 266 |
|
| 267 |
#. type: Plain text |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
msgid "" |
| 271 |
"The caller can force the close-on-exec flag to be set for the new file " |
| 272 |
"descriptor by specifying B<O_CLOEXEC> in I<flags>. See the description of " |
| 273 |
"the same flag in B<open>(2) for reasons why this may be useful." |
| 274 |
msgstr "" |
| 275 |
"Apelantul poate forța activarea indicatorului close-on-exec pentru noul " |
| 276 |
"descriptor de fișier prin specificarea B<O_CLOEXEC> în I<flags>. A se vedea " |
| 277 |
"descrierea aceluiași fanion în B<open>(2) pentru motivele pentru care acest " |
| 278 |
"lucru poate fi util." |
| 279 |
|
| 280 |
#. Ulrich Drepper, LKML, 2008-10-09: |
| 281 |
#. We deliberately decided on this change. Otherwise, what is the |
| 282 |
#. result of dup3(fd, fd, O_CLOEXEC)? |
| 283 |
#. type: Plain text |
| 284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 286 |
msgid "" |
| 287 |
"If I<oldfd> equals I<newfd>, then B<dup3>() fails with the error B<EINVAL>." |
| 288 |
msgstr "" |
| 289 |
"Dacă I<oldfd> este egal cu I<newfd>, atunci B<dup3>() eșuează cu eroarea " |
| 290 |
"B<EINVAL>." |
| 291 |
|
| 292 |
#. type: SH |
| 293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 295 |
#, no-wrap |
| 296 |
msgid "RETURN VALUE" |
| 297 |
msgstr "VALOAREA RETURNATĂ" |
| 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 |
"On success, these system calls return the new file descriptor. On error, -1 " |
| 304 |
"is returned, and I<errno> is set to indicate the error." |
| 305 |
msgstr "" |
| 306 |
"În caz de succes, aceste apeluri de sistem returnează noul descriptor de " |
| 307 |
"fișier. În caz de eroare, este returnat -1, iar I<errno> este configurată " |
| 308 |
"pentru a indica eroarea." |
| 309 |
|
| 310 |
#. type: SH |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
#, no-wrap |
| 314 |
msgid "ERRORS" |
| 315 |
msgstr "ERORI-IEȘIRE" |
| 316 |
|
| 317 |
#. type: TP |
| 318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 320 |
#, no-wrap |
| 321 |
msgid "B<EBADF>" |
| 322 |
msgstr "B<EBADF>" |
| 323 |
|
| 324 |
#. type: Plain text |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
msgid "I<oldfd> isn't an open file descriptor." |
| 328 |
msgstr "I<oldfd> nu este un descriptor de fișier deschis." |
| 329 |
|
| 330 |
#. type: Plain text |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
msgid "" |
| 334 |
"I<newfd> is out of the allowed range for file descriptors (see the " |
| 335 |
"discussion of B<RLIMIT_NOFILE> in B<getrlimit>(2))." |
| 336 |
msgstr "" |
| 337 |
"I<newfd> este în afara intervalului permis pentru descriptorii de fișiere (a " |
| 338 |
"se vedea discuția despre B<RLIMIT_NOFILE> în B<getrlimit>(2))." |
| 339 |
|
| 340 |
#. type: TP |
| 341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 343 |
#, no-wrap |
| 344 |
msgid "B<EBUSY>" |
| 345 |
msgstr "B<EBUSY>" |
| 346 |
|
| 347 |
#. type: Plain text |
| 348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
msgid "" |
| 351 |
"(Linux only) This may be returned by B<dup2>() or B<dup3>() during a race " |
| 352 |
"condition with B<open>(2) and B<dup>()." |
| 353 |
msgstr "" |
| 354 |
"(Numai Linux) Aceasta poate fi returnată de B<dup2>() sau B<dup3>() în " |
| 355 |
"timpul unei condiții de cursă cu B<open>(2) și B<dup>()." |
| 356 |
|
| 357 |
#. type: TP |
| 358 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 359 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 360 |
#, no-wrap |
| 361 |
msgid "B<EINTR>" |
| 362 |
msgstr "B<EINTR>" |
| 363 |
|
| 364 |
#. type: Plain text |
| 365 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 366 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 367 |
msgid "" |
| 368 |
"The B<dup2>() or B<dup3>() call was interrupted by a signal; see " |
| 369 |
"B<signal>(7)." |
| 370 |
msgstr "" |
| 371 |
"Apelul B<dup2>() sau B<dup3>() a fost întrerupt de un semnal; consultați " |
| 372 |
"B<signal>(7)." |
| 373 |
|
| 374 |
#. type: TP |
| 375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 377 |
#, no-wrap |
| 378 |
msgid "B<EINVAL>" |
| 379 |
msgstr "B<EINVAL>" |
| 380 |
|
| 381 |
#. type: Plain text |
| 382 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 383 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 384 |
msgid "(B<dup3>()) I<flags> contain an invalid value." |
| 385 |
msgstr "(B<dup3>()) I<flags> conține o valoare nevalidă." |
| 386 |
|
| 387 |
#. type: Plain text |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
msgid "(B<dup3>()) I<oldfd> was equal to I<newfd>." |
| 391 |
msgstr "(B<dup3>()) I<oldfd> a fost egal cu I<newfd>." |
| 392 |
|
| 393 |
#. type: TP |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
#, no-wrap |
| 397 |
msgid "B<EMFILE>" |
| 398 |
msgstr "B<EMFILE>" |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
msgid "" |
| 404 |
"The per-process limit on the number of open file descriptors has been " |
| 405 |
"reached (see the discussion of B<RLIMIT_NOFILE> in B<getrlimit>(2))." |
| 406 |
msgstr "" |
| 407 |
"A fost atinsă limita per-proces privind numărul de descriptoare de fișiere " |
| 408 |
"deschise (a se vedea discuția despre B<RLIMIT_NOFILE> în B<getrlimit>(2))." |
| 409 |
|
| 410 |
#. type: TP |
| 411 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 412 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 413 |
#, no-wrap |
| 414 |
msgid "B<ENOMEM>" |
| 415 |
msgstr "B<ENOMEM>" |
| 416 |
|
| 417 |
#. type: Plain text |
| 418 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 419 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
msgid "Insufficient kernel memory was available." |
| 421 |
msgstr "Nu a fost disponibilă suficientă memorie pentru nucleu." |
| 422 |
|
| 423 |
#. type: SH |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
#, no-wrap |
| 427 |
msgid "STANDARDS" |
| 428 |
msgstr "STANDARDE" |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 432 |
#: opensuse-tumbleweed |
| 433 |
msgid "POSIX.1-2024." |
| 434 |
msgstr "POSIX.1-2024." |
| 435 |
|
| 436 |
#. type: SH |
| 437 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 438 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 439 |
#, no-wrap |
| 440 |
msgid "HISTORY" |
| 441 |
msgstr "ISTORIC" |
| 442 |
|
| 443 |
#. type: TP |
| 444 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 445 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 446 |
#, no-wrap |
| 447 |
msgid "B<dup>()" |
| 448 |
msgstr "B<dup>()" |
| 449 |
|
| 450 |
#. type: TQ |
| 451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 453 |
#, no-wrap |
| 454 |
msgid "B<dup2>()" |
| 455 |
msgstr "B<dup2>()" |
| 456 |
|
| 457 |
#. SVr4 documents additional |
| 458 |
#. EINTR and ENOLINK error conditions. POSIX.1 adds EINTR. |
| 459 |
#. The EBUSY return is Linux-specific. |
| 460 |
#. type: Plain text |
| 461 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 462 |
#: opensuse-tumbleweed |
| 463 |
msgid "4.3BSD, SVr4, POSIX.1-1988." |
| 464 |
msgstr "4.3BSD, SVr4, POSIX.1-1988." |
| 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 "B<dup3>()" |
| 471 |
msgstr "B<dup3>()" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 475 |
#: opensuse-tumbleweed |
| 476 |
msgid "POSIX.1-2024. Linux 2.6.27, glibc 2.9." |
| 477 |
msgstr "POSIX.1-2024. Linux 2.6.27, glibc 2.9." |
| 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 "NOTES" |
| 484 |
msgstr "NOTE" |
| 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 |
"The error returned by B<dup2>() is different from that returned by " |
| 491 |
"B<fcntl(>..., B<F_DUPFD>, ...B<)> when I<newfd> is out of range. On some " |
| 492 |
"systems, B<dup2>() also sometimes returns B<EINVAL> like B<F_DUPFD>." |
| 493 |
msgstr "" |
| 494 |
"Eroarea returnată de B<dup2>() este diferită de cea returnată de " |
| 495 |
"B<fcntl(>..., B<F_DUPFD>, ...B<)> atunci când I<newfd> iese din interval. " |
| 496 |
"Pe unele sisteme, B<dup2>() returnează uneori și B<EINVAL> ca B<F_DUPFD>." |
| 497 |
|
| 498 |
#. type: Plain text |
| 499 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 500 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 501 |
msgid "" |
| 502 |
"If I<newfd> was open, any errors that would have been reported at " |
| 503 |
"B<close>(2) time are lost. If this is of concern, then\\[em]unless the " |
| 504 |
"program is single-threaded and does not allocate file descriptors in signal " |
| 505 |
"handlers\\[em]the correct approach is I<not> to close I<newfd> before " |
| 506 |
"calling B<dup2>(), because of the race condition described above. Instead, " |
| 507 |
"code something like the following could be used:" |
| 508 |
msgstr "" |
| 509 |
"Dacă I<newfd> a fost deschis, orice erori care ar fi fost raportate la " |
| 510 |
"momentul B<close>(2) sunt pierdute. Dacă acest lucru vă îngrijorează, " |
| 511 |
"atunci [em]cu excepția cazului în care programul este cu un singur fir și nu " |
| 512 |
"alocă descriptori de fișier în gestionarii de semnal [em]abordarea corectă " |
| 513 |
"este să I<nu> închideți I<newfd> înainte de a apela B<dup2>(), din cauza " |
| 514 |
"condiției de cursă descrisă mai sus. În schimb, ar putea fi utilizat un cod " |
| 515 |
"asemănător cu următorul:" |
| 516 |
|
| 517 |
#. type: Plain text |
| 518 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 519 |
#: opensuse-tumbleweed |
| 520 |
#, no-wrap |
| 521 |
msgid "" |
| 522 |
"/* Obtain a duplicate of \\[aq]newfd\\[aq] that can subsequently\n" |
| 523 |
" be used to check for close() errors; an EBADF error\n" |
| 524 |
" means that \\[aq]newfd\\[aq] was not open. */\n" |
| 525 |
"\\&\n" |
| 526 |
"tmpfd = dup(newfd);\n" |
| 527 |
"if (tmpfd == -1 && errno != EBADF) {\n" |
| 528 |
" /* Handle unexpected dup() error. */\n" |
| 529 |
"}\n" |
| 530 |
"\\&\n" |
| 531 |
"/* Atomically duplicate \\[aq]oldfd\\[aq] on \\[aq]newfd\\[aq]. */\n" |
| 532 |
"\\&\n" |
| 533 |
"if (dup2(oldfd, newfd) == -1) {\n" |
| 534 |
" /* Handle dup2() error. */\n" |
| 535 |
"}\n" |
| 536 |
"\\&\n" |
| 537 |
"/* Now check for close() errors on the file originally\n" |
| 538 |
" referred to by \\[aq]newfd\\[aq]. */\n" |
| 539 |
"\\&\n" |
| 540 |
"if (tmpfd != -1) {\n" |
| 541 |
" if (close(tmpfd) == -1) {\n" |
| 542 |
" /* Handle errors from close. */\n" |
| 543 |
" }\n" |
| 544 |
"}\n" |
| 545 |
msgstr "" |
| 546 |
"/* Obține un duplicat al \\[aq]newfd\\[aq] care poate fi utilizat\n" |
| 547 |
" ulterior pentru a verifica erorile close(); o eroare EBADF\n" |
| 548 |
" înseamnă că \\[aq]newfd\\[aq] nu a fost deschis. */\n" |
| 549 |
"\\&\n" |
| 550 |
"tmpfd = dup(newfd);\n" |
| 551 |
"if (tmpfd == -1 && errno != EBADF) {\n" |
| 552 |
" /* Gestionează eroarea neașteptată dup(). */\n" |
| 553 |
"}\n" |
| 554 |
"\\&\n" |
| 555 |
"/* Duplicarea atomică a \\[aq]oldfd\\[aq] pe \\[aq]newfd\\[aq]. */\n" |
| 556 |
"\\&\n" |
| 557 |
"if (dup2(oldfd, newfd) == -1) {\n" |
| 558 |
" /* Gestionează eroarea dup2(). */\n" |
| 559 |
"}\n" |
| 560 |
"\\&\n" |
| 561 |
"/* Acum verifică dacă există erori close() în fișierul menționat\n" |
| 562 |
" inițial de \\[aq]newfd\\[aq]. */\n" |
| 563 |
"\\&\n" |
| 564 |
"if (tmpfd != -1) {\n" |
| 565 |
" if (close(tmpfd) == -1) {\n" |
| 566 |
" /* Gestionează erorile de la închidere. */\n" |
| 567 |
" }\n" |
| 568 |
"}\n" |
| 569 |
|
| 570 |
#. type: SH |
| 571 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 572 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 573 |
#, no-wrap |
| 574 |
msgid "SEE ALSO" |
| 575 |
msgstr "CONSULTAȚI ȘI" |
| 576 |
|
| 577 |
#. type: Plain text |
| 578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 580 |
msgid "B<close>(2), B<fcntl>(2), B<open>(2), B<pidfd_getfd>(2)" |
| 581 |
msgstr "B<close>(2), B<fcntl>(2), B<open>(2), B<pidfd_getfd>(2)" |
| 582 |
|
| 583 |
#. type: TH |
| 584 |
#: debian-trixie |
| 585 |
#, no-wrap |
| 586 |
msgid "2024-05-02" |
| 587 |
msgstr "2 mai 2024" |
| 588 |
|
| 589 |
#. type: TH |
| 590 |
#: debian-trixie |
| 591 |
#, no-wrap |
| 592 |
msgid "Linux man-pages 6.9.1" |
| 593 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 594 |
|
| 595 |
#. type: Plain text |
| 596 |
#: debian-trixie |
| 597 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 598 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 599 |
|
| 600 |
#. type: Plain text |
| 601 |
#: debian-trixie fedora-44 fedora-rawhide |
| 602 |
msgid "POSIX.1-2008." |
| 603 |
msgstr "POSIX.1-2008." |
| 604 |
|
| 605 |
#. type: Plain text |
| 606 |
#: debian-trixie fedora-44 fedora-rawhide |
| 607 |
msgid "Linux." |
| 608 |
msgstr "Linux." |
| 609 |
|
| 610 |
#. SVr4 documents additional |
| 611 |
#. EINTR and ENOLINK error conditions. POSIX.1 adds EINTR. |
| 612 |
#. The EBUSY return is Linux-specific. |
| 613 |
#. type: Plain text |
| 614 |
#: debian-trixie fedora-44 fedora-rawhide |
| 615 |
msgid "POSIX.1-2001, SVr4, 4.3BSD." |
| 616 |
msgstr "POSIX.1-2001, SVr4, 4.3BSD." |
| 617 |
|
| 618 |
#. type: Plain text |
| 619 |
#: debian-trixie fedora-44 fedora-rawhide |
| 620 |
msgid "Linux 2.6.27, glibc 2.9." |
| 621 |
msgstr "Linux 2.6.27, glibc 2.9." |
| 622 |
|
| 623 |
#. type: Plain text |
| 624 |
#: debian-trixie fedora-44 fedora-rawhide |
| 625 |
#, no-wrap |
| 626 |
msgid "" |
| 627 |
"/* Obtain a duplicate of \\[aq]newfd\\[aq] that can subsequently\n" |
| 628 |
" be used to check for close() errors; an EBADF error\n" |
| 629 |
" means that \\[aq]newfd\\[aq] was not open. */\n" |
| 630 |
"\\&\n" |
| 631 |
"tmpfd = dup(newfd);\n" |
| 632 |
"if (tmpfd == -1 && errno != EBADF) {\n" |
| 633 |
" /* Handle unexpected dup() error. */\n" |
| 634 |
"}\n" |
| 635 |
"\\&\n" |
| 636 |
"/* Atomically duplicate \\[aq]oldfd\\[aq] on \\[aq]newfd\\[aq]. */\n" |
| 637 |
"\\&\n" |
| 638 |
"if (dup2(oldfd, newfd) == -1) {\n" |
| 639 |
" /* Handle dup2() error. */\n" |
| 640 |
"}\n" |
| 641 |
"\\&\n" |
| 642 |
"/* Now check for close() errors on the file originally\n" |
| 643 |
" referred to by \\[aq]newfd\\[aq]. */\n" |
| 644 |
"\\&\n" |
| 645 |
"if (tmpfd != -1) {\n" |
| 646 |
" if (close(tmpfd) == -1) {\n" |
| 647 |
" /* Handle errors from close. */\n" |
| 648 |
" }\n" |
| 649 |
"}\n" |
| 650 |
msgstr "" |
| 651 |
"/* Obține un duplicat al \\[aq]newfd\\[aq] care poate fi utilizat\n" |
| 652 |
" ulterior pentru a verifica erorile close(); o eroare EBADF\n" |
| 653 |
" înseamnă că \\[aq]newfd\\[aq] nu a fost deschis. */\n" |
| 654 |
"\\&\n" |
| 655 |
"tmpfd = dup(newfd);\n" |
| 656 |
"if (tmpfd == -1 && errno != EBADF) {\n" |
| 657 |
" /* Gestionează eroarea neașteptată dup(). */\n" |
| 658 |
"}\n" |
| 659 |
"\\&\n" |
| 660 |
"/* Duplicarea atomică a \\[aq]oldfd\\[aq] pe \\[aq]newfd\\[aq]. */\n" |
| 661 |
"\\&\n" |
| 662 |
"if (dup2(oldfd, newfd) == -1) {\n" |
| 663 |
" /* Gestionează eroarea dup2(). */\n" |
| 664 |
"}\n" |
| 665 |
"\\&\n" |
| 666 |
"/* Acum verifică dacă există erori close() în fișierul menționat\n" |
| 667 |
" inițial de \\[aq]newfd\\[aq]. */\n" |
| 668 |
"\\&\n" |
| 669 |
"if (tmpfd != -1) {\n" |
| 670 |
" if (close(tmpfd) == -1) {\n" |
| 671 |
" /* Gestionează erorile de la închidere. */\n" |
| 672 |
" }\n" |
| 673 |
"}\n" |
| 674 |
|
| 675 |
#. type: TH |
| 676 |
#: fedora-44 fedora-rawhide |
| 677 |
#, no-wrap |
| 678 |
msgid "2024-11-01" |
| 679 |
msgstr "1 noiembrie 2024" |
| 680 |
|
| 681 |
#. type: TH |
| 682 |
#: fedora-44 fedora-rawhide |
| 683 |
#, no-wrap |
| 684 |
msgid "Linux man-pages 6.13" |
| 685 |
msgstr "Pagini de manual de Linux 6.13" |
| 686 |
|
| 687 |
#. type: TH |
| 688 |
#: mageia-cauldron |
| 689 |
#, no-wrap |
| 690 |
msgid "Linux man-pages 6.17" |
| 691 |
msgstr "Pagini de manual de Linux 6.17" |
| 692 |
|
| 693 |
#. type: TH |
| 694 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 695 |
#, no-wrap |
| 696 |
msgid "Linux man-pages (unreleased)" |
| 697 |
msgstr "Pagini de manual Linux (nepublicate)" |