Debian Codegraph @

po/ro/man2/write.2.po

raw
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.23.1\n"
8 "POT-Creation-Date: 2026-06-05 06:51+0200\n"
9 "PO-Revision-Date: 2025-08-08 09:13+0200\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 "write"
25 msgstr "write"
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 "write - write to a file descriptor"
51 msgstr "write - scrie într-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-unstable mageia-cauldron opensuse-leap-16-1
82 #: opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<ssize_t write(>size_t count;\n"
86 "B< int >I<fd>B<, const void >I<buf>B<[>I<count>B<], size_t >I<count>B<);>\n"
87 msgstr ""
88 "B<ssize_t write(>size_t count;\n"
89 "B< int >I<fd>B<, const void >I<buf>B<[>I<count>B<], size_t >I<count>B<);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "DESCRIERE"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "B<write>() writes up to I<count> bytes from the buffer starting at I<buf> "
103 "to the file referred to by the file descriptor I<fd>."
104 msgstr ""
105 "B<write>() scrie până la I<count> octeți din memoria tampon care începe la "
106 "I<buf> în fișierul la care se face referire prin descriptorul de fișier "
107 "I<fd>."
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 msgid ""
113 "The number of bytes written may be less than I<count> if, for example, there "
114 "is insufficient space on the underlying physical medium, or the "
115 "B<RLIMIT_FSIZE> resource limit is encountered (see B<setrlimit>(2)), or the "
116 "call was interrupted by a signal handler after having written less than "
117 "I<count> bytes. (See also B<pipe>(7).)"
118 msgstr ""
119 "Numărul de octeți scriși poate fi mai mic decât I<count> dacă, de exemplu, "
120 "nu există spațiu suficient pe suportul fizic subiacent, dacă este întâlnită "
121 "limita de resurse B<RLIMIT_FSIZE> (a se vedea B<setrlimit>(2)) sau dacă "
122 "apelul a fost întrerupt de un gestionar de semnal după ce a scris mai puțin "
123 "de I<count> octeți. A se vedea și B<pipe>(7)."
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "For a seekable file (i.e., one to which B<lseek>(2) may be applied, for "
130 "example, a regular file) writing takes place at the file offset, and the "
131 "file offset is incremented by the number of bytes actually written. If the "
132 "file was B<open>(2)ed with B<O_APPEND>, the file offset is first set to the "
133 "end of the file before writing. The adjustment of the file offset and the "
134 "write operation are performed as an atomic step."
135 msgstr ""
136 "Pentru un fișier care poate fi căutat (adică unul căruia i se poate aplica "
137 "B<lseek>(2), de exemplu, un fișier obișnuit), scrierea are loc la poziția "
138 "fișierului, iar poziția fișierului este incrementată cu numărul de octeți "
139 "scriși efectiv. În cazul în care fișierul a fost deschis cu B<open>(2) "
140 "B<O_APPEND>, poziția fișierului este mai întâi stabilită la sfârșitul "
141 "fișierului înainte de scriere. Ajustarea decalajului fișierului și operația "
142 "de scriere sunt efectuate ca un pas atomic."
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "POSIX requires that a B<read>(2) that can be proved to occur after a "
149 "B<write>() has returned will return the new data. Note that not all "
150 "filesystems are POSIX conforming."
151 msgstr ""
152 "POSIX stipulează că un B<read>(2) despre care se poate dovedi că apare după "
153 "ce un B<write>() a fost returnat va returna noile date. Rețineți că nu toate "
154 "sistemele de fișiere sunt conforme cu POSIX."
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "According to POSIX.1, if I<count> is greater than B<SSIZE_MAX>, the result "
161 "is implementation-defined; see NOTES for the upper limit on Linux."
162 msgstr ""
163 "În conformitate cu POSIX.1, dacă I<count> este mai mare decât B<SSIZE_MAX>, "
164 "rezultatul este definit de implementare; a se vedea NOTE pentru limita "
165 "superioară în Linux."
166
167 #. type: SH
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid "RETURN VALUE"
172 msgstr "VALOAREA RETURNATĂ"
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "On success, the number of bytes written is returned. On error, -1 is "
179 "returned, and I<errno> is set to indicate the error."
180 msgstr ""
181 "În caz de succes, este returnat numărul de octeți scriși. În caz de eroare, "
182 "este returnat -1, iar I<errno> este configurată pentru a indica eroarea."
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 msgid ""
188 "Note that a successful B<write>() may transfer fewer than I<count> bytes. "
189 "Such partial writes can occur for various reasons; for example, because "
190 "there was insufficient space on the disk device to write all of the "
191 "requested bytes, or because a blocked B<write>() to a socket, pipe, or "
192 "similar was interrupted by a signal handler after it had transferred some, "
193 "but before it had transferred all of the requested bytes. In the event of a "
194 "partial write, the caller can make another B<write>() call to transfer the "
195 "remaining bytes. The subsequent call will either transfer further bytes or "
196 "may result in an error (e.g., if the disk is now full)."
197 msgstr ""
198 "Rețineți că o operație B<write>() reușită poate transfera mai puțin de "
199 "I<count> octeți. Astfel de scrieri parțiale pot avea loc din diverse motive; "
200 "de exemplu, pentru că nu a existat spațiu suficient pe dispozitivul de disc "
201 "pentru a scrie toți octeții solicitați sau pentru că un apel B<write>() "
202 "blocat către un soclu, conductă sau similar a fost întrerupt de un gestionar "
203 "de semnal după ce a transferat o parte, dar înainte de a transfera toți "
204 "octeții solicitați. În cazul unei scrierii parțiale, apelantul poate efectua "
205 "un alt apel B<write>() pentru a transfera octeții rămași. Apelul ulterior "
206 "fie va transfera alți octeți, fie poate duce la o eroare (de exemplu, dacă "
207 "discul este acum plin)."
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 ""
213 "If I<count> is zero and I<fd> refers to a regular file, then B<write>() may "
214 "return a failure status if one of the errors below is detected. If no "
215 "errors are detected, or error detection is not performed, 0 is returned "
216 "without causing any other effect. If I<count> is zero and I<fd> refers to a "
217 "file other than a regular file, the results are not specified."
218 msgstr ""
219 "Dacă I<count> este zero și I<fd> se referă la un fișier obișnuit, atunci "
220 "B<write>() poate returna o stare de eșec dacă este detectată una dintre "
221 "erorile de mai jos. Dacă nu sunt detectate erori sau dacă detectarea "
222 "erorilor nu este efectuată, se returnează 0 fără a provoca alte efecte. Dacă "
223 "I<count> este zero și I<fd> se referă la un alt fișier decât un fișier "
224 "obișnuit, rezultatele nu sunt specificate."
225
226 #. type: SH
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "ERRORS"
231 msgstr "ERORI-IEȘIRE"
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<EAGAIN>"
238 msgstr "B<EAGAIN>"
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid ""
244 "The file descriptor I<fd> refers to a file other than a socket and has been "
245 "marked nonblocking (B<O_NONBLOCK>), and the write would block. See "
246 "B<open>(2) for further details on the B<O_NONBLOCK> flag."
247 msgstr ""
248 "Descriptorul de fișier I<fd> se referă la un alt fișier decât un soclu și a "
249 "fost marcat ca fiind fără blocare (B<O_NONBLOCK>), iar scrierea s-ar bloca. "
250 "Consultați B<open>(2) pentru mai multe detalii privind marcajul "
251 "B<O_NONBLOCK>."
252
253 #. type: TP
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid "B<EAGAIN> or B<EWOULDBLOCK>"
258 msgstr "B<EAGAIN> sau B<EWOULDBLOCK>"
259
260 #. Actually EAGAIN on Linux
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 ""
265 "The file descriptor I<fd> refers to a socket and has been marked nonblocking "
266 "(B<O_NONBLOCK>), and the write would block. POSIX.1-2001 allows either "
267 "error to be returned for this case, and does not require these constants to "
268 "have the same value, so a portable application should check for both "
269 "possibilities."
270 msgstr ""
271 "Descriptorul de fișier I<fd> se referă la un soclu și a fost marcat ca fiind "
272 "fără blocare (B<O_NONBLOCK>), iar scrierea s-ar bloca. POSIX.1-2001 permite "
273 "returnarea oricărei erori în acest caz și nu solicită ca aceste constante să "
274 "aibă aceeași valoare, astfel încât o aplicație portabilă ar trebui să "
275 "verifice ambele posibilități."
276
277 #. type: TP
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "B<EBADF>"
282 msgstr "B<EBADF>"
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid "I<fd> is not a valid file descriptor or is not open for writing."
288 msgstr ""
289 "I<fd> nu este un descriptor de fișier valid sau nu este deschis pentru "
290 "scriere."
291
292 #. type: TP
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "B<EDESTADDRREQ>"
297 msgstr "B<EDESTADDRREQ>"
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 "I<fd> refers to a datagram socket for which a peer address has not been set "
304 "using B<connect>(2)."
305 msgstr ""
306 "I<fd> se referă la o priză de datagramă pentru care nu a fost definită o "
307 "adresă de mașină partener folosind B<connect>(2)."
308
309 #. type: TP
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "B<EDQUOT>"
314 msgstr "B<EDQUOT>"
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid ""
320 "The user's quota of disk blocks on the filesystem containing the file "
321 "referred to by I<fd> has been exhausted."
322 msgstr ""
323 "Cota utilizatorului de blocuri de disc pe sistemul de fișiere care conține "
324 "fișierul menționat de I<fd> a fost epuizată."
325
326 #. type: TP
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "B<EFAULT>"
331 msgstr "B<EFAULT>"
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid "I<buf> is outside your accessible address space."
337 msgstr "I<buf> se află în afara spațiului dvs. de adrese accesibil."
338
339 #. type: TP
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "B<EFBIG>"
344 msgstr "B<EFBIG>"
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid ""
350 "An attempt was made to write a file that exceeds the implementation-defined "
351 "maximum file size or the process's file size limit, or to write at a "
352 "position past the maximum allowed offset."
353 msgstr ""
354 "S-a încercat scrierea unui fișier care depășește dimensiunea maximă a "
355 "fișierului definită de implementare sau limita de dimensiune a fișierului "
356 "procesului sau scrierea la o poziție care depășește decalajul maxim permis."
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<EINTR>"
363 msgstr "B<EINTR>"
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 ""
369 "The call was interrupted by a signal before any data was written; see "
370 "B<signal>(7)."
371 msgstr ""
372 "Apelul a fost întrerupt de un semnal înainte ca orice date să fie scrise; a "
373 "se vedea B<signal>(7)."
374
375 #. type: TP
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid "B<EINVAL>"
380 msgstr "B<EINVAL>"
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "I<fd> is attached to an object which is unsuitable for writing; or the file "
387 "was opened with the B<O_DIRECT> flag, and either the address specified in "
388 "I<buf>, the value specified in I<count>, or the file offset is not suitably "
389 "aligned."
390 msgstr ""
391 "I<fd> este atașat unui obiect care nu este adecvat pentru scriere; sau "
392 "fișierul a fost deschis cu fanionul B<O_DIRECT>, iar adresa specificată în "
393 "I<buf>, valoarea specificată în I<count> sau poziția fișierului nu este "
394 "aliniată corespunzător."
395
396 #. type: TP
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "B<EIO>"
401 msgstr "B<EIO>"
402
403 #. commit 088737f44bbf6378745f5b57b035e57ee3dc4750
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid ""
408 "A low-level I/O error occurred while modifying the inode. This error may "
409 "relate to the write-back of data written by an earlier B<write>(), which may "
410 "have been issued to a different file descriptor on the same file. Since "
411 "Linux 4.13, errors from write-back come with a promise that they I<may> be "
412 "reported by subsequent. B<write>() requests, and I<will> be reported by a "
413 "subsequent B<fsync>(2) (whether or not they were also reported by "
414 "B<write>()). An alternate cause of B<EIO> on networked filesystems is when "
415 "an advisory lock had been taken out on the file descriptor and this lock has "
416 "been lost. See the I<Lost locks> section of B<fcntl>(2) for further "
417 "details."
418 msgstr ""
419 "S-a produs o eroare I/O de nivel scăzut în timpul modificării nodului-i. "
420 "Această eroare poate fi legată de scrierea înapoi (write-back) a datelor "
421 "scrise de o operație B<write>() anterioară, care poate să fi fost emisă "
422 "către un descriptor de fișier diferit pe același fișier. Începând cu Linux "
423 "4.13, erorile de la write-back vin cu promisiunea că acestea I<pot> fi "
424 "raportate de următoarele. B<write>(), și I<will> să fie raportate de o "
425 "cerere ulterioară B<fsync>(2) (indiferent dacă au fost sau nu raportate și "
426 "de B<write>()). O altă cauză a B<EIO> pe sistemele de fișiere în rețea este "
427 "atunci când un blocaj consultativ a fost luat pe descriptorul de fișier și "
428 "acest blocaj a fost pierdut. Consultați secțiunea I<Blocări pierdute> din "
429 "B<fcntl>(2) pentru detalii suplimentare."
430
431 #. type: TP
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid "B<ENOSPC>"
436 msgstr "B<ENOSPC>"
437
438 #. type: Plain text
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 msgid ""
442 "The device containing the file referred to by I<fd> has no room for the data."
443 msgstr ""
444 "Dispozitivul care conține fișierul la care se face referire prin I<fd> nu "
445 "are spațiu pentru date."
446
447 #. type: TP
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "B<EPERM>"
452 msgstr "B<EPERM>"
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 msgid "The operation was prevented by a file seal; see B<fcntl>(2)."
458 msgstr ""
459 "Operația a fost împiedicată de o sigilare de fișier; a se vedea B<fcntl>(2)."
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 "B<EPIPE>"
466 msgstr "B<EPIPE>"
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 ""
472 "I<fd> is connected to a pipe or socket whose reading end is closed. When "
473 "this happens the writing process will also receive a B<SIGPIPE> signal. "
474 "(Thus, the write return value is seen only if the program catches, blocks or "
475 "ignores this signal.)"
476 msgstr ""
477 "I<fd> este conectat la o conductă sau un soclu al cărui capăt de citire este "
478 "închis. Atunci când acest lucru se întâmplă, procesul de scriere va primi "
479 "și un semnal B<SIGPIPE>; (astfel, valoarea de returnare a scrierii este "
480 "văzută numai dacă programul captează, blochează sau ignoră acest semnal)."
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 msgid "Other errors may occur, depending on the object connected to I<fd>."
486 msgstr "Pot apărea și alte erori, în funcție de obiectul conectat la I<fd>."
487
488 #. type: SH
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "STANDARDS"
493 msgstr "STANDARDE"
494
495 #. type: Plain text
496 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
497 #: opensuse-tumbleweed
498 msgid "POSIX.1-2024."
499 msgstr "POSIX.1-2024."
500
501 #. type: SH
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 #, no-wrap
505 msgid "HISTORY"
506 msgstr "ISTORIC"
507
508 #. SVr4 documents additional error
509 #. conditions EDEADLK, ENOLCK, ENOLNK, ENOSR, ENXIO, or ERANGE.
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 msgid "SVr4, 4.3BSD, POSIX.1-2001."
514 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
515
516 #. type: Plain text
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 msgid ""
520 "Under SVr4 a write may be interrupted and return B<EINTR> at any point, not "
521 "just before any data is written."
522 msgstr ""
523 "Sub SVr4, o scriere poate fi întreruptă și se poate returna B<EINTR> în "
524 "orice moment, nu doar înainte ca datele să fie scrise."
525
526 #. type: SH
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 #, no-wrap
530 msgid "NOTES"
531 msgstr "NOTE"
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 msgid ""
537 "A successful return from B<write>() does not make any guarantee that data "
538 "has been committed to disk. On some filesystems, including NFS, it does not "
539 "even guarantee that space has successfully been reserved for the data. In "
540 "this case, some errors might be delayed until a future B<write>(), "
541 "B<fsync>(2), or even B<close>(2). The only way to be sure is to call "
542 "B<fsync>(2) after you are done writing all your data."
543 msgstr ""
544 "O returnare cu succes de la B<write>() nu garantează în niciun fel că datele "
545 "au fost stocate pe disc. Pe unele sisteme de fișiere, inclusiv NFS, nu "
546 "garantează nici măcar că spațiul a fost rezervat cu succes pentru date. În "
547 "acest caz, unele erori pot fi amânate până la o viitoare operație "
548 "B<write>(), B<fsync>(2) sau chiar B<close>(2). Singura modalitate de a fi "
549 "siguri este să apelați B<fsync>(2) după ce ați terminat de scris toate "
550 "datele."
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid ""
556 "If a B<write>() is interrupted by a signal handler before any bytes are "
557 "written, then the call fails with the error B<EINTR>; if it is interrupted "
558 "after at least one byte has been written, the call succeeds, and returns the "
559 "number of bytes written."
560 msgstr ""
561 "Dacă o operație B<write>() este întreruptă de un gestionar de semnal înainte "
562 "de scrierea oricărui octet, apelul eșuează cu eroarea B<EINTR>; dacă este "
563 "întrerupt după scrierea a cel puțin un octet, apelul reușește și returnează "
564 "numărul de octeți scriși."
565
566 #. commit e28cc71572da38a5a12c1cfe4d7032017adccf69
567 #. type: Plain text
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 msgid ""
571 "On Linux, B<write>() (and similar system calls) will transfer at most "
572 "0x7ffff000 (2,147,479,552) bytes, returning the number of bytes actually "
573 "transferred. (This is true on both 32-bit and 64-bit systems.)"
574 msgstr ""
575 "Pe Linux, B<write>() (și apelurile de sistem similare) va transfera cel mult "
576 "0x7ffff000 (2.147.479.552) octeți, returnând numărul de octeți transferați "
577 "efectiv;(acest lucru este valabil atât pe sistemele pe 32 de biți, cât și pe "
578 "cele pe 64 de biți)."
579
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 msgid ""
584 "An error return value while performing B<write>() using direct I/O does not "
585 "mean the entire write has failed. Partial data may be written and the data "
586 "at the file offset on which the B<write>() was attempted should be "
587 "considered inconsistent."
588 msgstr ""
589 "O valoare returnată de eroare în timpul executării B<write>() folosind I/O "
590 "direct nu înseamnă că întreaga scriere a eșuat. Se pot scrie date parțiale, "
591 "iar datele de la poziția fișierului pe care s-a încercat B<write>() trebuie "
592 "considerate inconsistente."
593
594 #. type: SH
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 #, no-wrap
598 msgid "BUGS"
599 msgstr "ERORI"
600
601 #. type: Plain text
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 msgid ""
605 "According to POSIX.1-2008/SUSv4 Section XSI 2.9.7 (\"Thread Interactions "
606 "with Regular File Operations\"):"
607 msgstr ""
608 "În conformitate cu POSIX.1-2008/SUSv4 secțiunea XSI 2.9.7 („Interacțiuni ale "
609 "firelor de execuție cu operațiile fișierelor obișnuite”):"
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 msgid ""
615 "All of the following functions shall be atomic with respect to each other in "
616 "the effects specified in POSIX.1-2008 when they operate on regular files or "
617 "symbolic links: ..."
618 msgstr ""
619 "Toate funcțiile următoare trebuie să fie atomice una față de cealaltă în "
620 "efectele specificate în POSIX.1-2008 atunci când operează cu fișiere "
621 "obișnuite sau legături simbolice: ..."
622
623 #
624 #. http://thread.gmane.org/gmane.linux.kernel/1649458
625 #. From: Michael Kerrisk (man-pages <mtk.manpages <at> gmail.com>
626 #. Subject: Update of file offset on write() etc. is non-atomic with I/O
627 #. Date: 2014-02-17 15:41:37 GMT
628 #. Newsgroups: gmane.linux.kernel, gmane.linux.file-systems
629 #. commit 9c225f2655e36a470c4f58dbbc99244c5fc7f2d4
630 #. Author: Linus Torvalds <[email protected]>
631 #. Date: Mon Mar 3 09:36:58 2014 -0800
632 #. vfs: atomic f_pos accesses as per POSIX
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 msgid ""
637 "Among the APIs subsequently listed are B<write>() and B<writev>(2). And "
638 "among the effects that should be atomic across threads (and processes) are "
639 "updates of the file offset. However, before Linux 3.14, this was not the "
640 "case: if two processes that share an open file description (see B<open>(2)) "
641 "perform a B<write>() (or B<writev>(2)) at the same time, then the I/O "
642 "operations were not atomic with respect to updating the file offset, with "
643 "the result that the blocks of data output by the two processes might "
644 "(incorrectly) overlap. This problem was fixed in Linux 3.14."
645 msgstr ""
646 "Printre API-urile enumerate ulterior sunt B<write>() și B<writev>(2). Iar "
647 "printre efectele care ar trebui să fie atomice între fire (și procese) se "
648 "numără actualizările poziției fișierului. Cu toate acestea, înainte de "
649 "Linux 3.14, acest lucru nu se întâmpla: dacă două procese care împart o "
650 "descriere de fișier deschis (a se vedea B<open>(2)) efectuează o operație "
651 "B<write>() (sau B<writev>(2)) în același timp, atunci operațiile I/O nu erau "
652 "atomice în ceea ce privește actualizarea poziției fișierului, având ca "
653 "rezultat suprapunerea (incorectă) a blocurilor de date emise de cele două "
654 "procese. Această problemă a fost rezolvată în Linux 3.14."
655
656 #. type: SH
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 #, no-wrap
660 msgid "SEE ALSO"
661 msgstr "CONSULTAȚI ȘI"
662
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 msgid ""
667 "B<close>(2), B<fcntl>(2), B<fsync>(2), B<ioctl>(2), B<lseek>(2), B<open>(2), "
668 "B<pwrite>(2), B<read>(2), B<select>(2), B<writev>(2), B<fwrite>(3)"
669 msgstr ""
670 "B<close>(2), B<fcntl>(2), B<fsync>(2), B<ioctl>(2), B<lseek>(2), B<open>(2), "
671 "B<pwrite>(2), B<read>(2), B<select>(2), B<writev>(2), B<fwrite>(3)"
672
673 #. type: TH
674 #: debian-trixie
675 #, no-wrap
676 msgid "2024-05-02"
677 msgstr "2 mai 2024"
678
679 #. type: TH
680 #: debian-trixie
681 #, no-wrap
682 msgid "Linux man-pages 6.9.1"
683 msgstr "Pagini de manual de Linux 6.9.1"
684
685 #. type: Plain text
686 #: debian-trixie
687 msgid "Standard C library (I<libc>, I<-lc>)"
688 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
689
690 #. type: Plain text
691 #: debian-trixie fedora-44 fedora-rawhide
692 #, no-wrap
693 msgid "B<ssize_t write(int >I<fd>B<, const void >I<buf>B<[.>I<count>B<], size_t >I<count>B<);>\n"
694 msgstr "B<ssize_t write(int >I<fd>B<, const void >I<buf>B<[.>I<count>B<], size_t >I<count>B<);>\n"
695
696 #. type: Plain text
697 #: debian-trixie fedora-44 fedora-rawhide
698 msgid "POSIX.1-2008."
699 msgstr "POSIX.1-2008."
700
701 #. type: TH
702 #: fedora-44 fedora-rawhide
703 #, no-wrap
704 msgid "2024-07-23"
705 msgstr "23 iulie 2024"
706
707 #. type: TH
708 #: fedora-44 fedora-rawhide
709 #, no-wrap
710 msgid "Linux man-pages 6.13"
711 msgstr "Pagini de manual de Linux 6.13"
712
713 #. type: TH
714 #: mageia-cauldron
715 #, no-wrap
716 msgid "Linux man-pages 6.17"
717 msgstr "Pagini de manual de Linux 6.17"
718
719 #. type: TH
720 #: opensuse-leap-16-1 opensuse-tumbleweed
721 #, no-wrap
722 msgid "Linux man-pages (unreleased)"
723 msgstr "Pagini de manual Linux (nepublicate)"