Debian Codegraph @

po/ro/man2/truncate.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]>, 2025, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.26.2\n"
8 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
9 "PO-Revision-Date: 2026-05-06 10:12+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.8\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 "truncate"
25 msgstr "truncate"
26
27 #. type: TH
28 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-04-12"
31 msgstr "12 aprilie 2026"
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr "Pagini de manual de Linux 6.18"
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr "NUME"
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "truncate, ftruncate - truncate a file to a specified length"
50 msgstr "truncate, ftruncate - trunchiază un fișier la o lungime specificată"
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr "BIBLIOTECA"
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr "SINOPSIS"
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>unistd.hE<gt>>\n"
77 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<int truncate(const char *>I<path>B<, off_t >I<length>B<);>\n"
85 "B<int ftruncate(int >I<fd>B<, off_t >I<length>B<);>\n"
86 msgstr ""
87 "B<int truncate(const char *>I<path>B<, off_t >I<length>B<);>\n"
88 "B<int ftruncate(int >I<fd>B<, off_t >I<length>B<);>\n"
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 msgid ""
94 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
95 msgstr ""
96 "Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc "
97 "(consultați B<feature_test_macros>(7)):"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid "B<truncate>():"
103 msgstr "B<truncate>():"
104
105 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid ""
111 " _XOPEN_SOURCE E<gt>= 500\n"
112 " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
113 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
114 msgstr ""
115 " _XOPEN_SOURCE E<gt>= 500\n"
116 " || /* Începând cu glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
117 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid "B<ftruncate>():"
123 msgstr "B<ftruncate>():"
124
125 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 #, no-wrap
130 msgid ""
131 " _XOPEN_SOURCE E<gt>= 500\n"
132 " || /* Since glibc 2.3.5: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
133 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
134 msgstr ""
135 " _XOPEN_SOURCE E<gt>= 500\n"
136 " || /* începând cu glibc 2.3.5: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
137 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
138
139 #. type: SH
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 #, no-wrap
143 msgid "DESCRIPTION"
144 msgstr "DESCRIERE"
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid ""
150 "The B<truncate>() and B<ftruncate>() functions cause the regular file "
151 "named by I<path> or referenced by I<fd> to be truncated to a size of "
152 "precisely I<length> bytes."
153 msgstr ""
154 "Funcțiile B<truncate>() și B<ftruncate>() fac ca fișierul obișnuit numit de "
155 "I<path> sau la care face referire I<fd> să fie trunchiat la o dimensiune de "
156 "exact I<length> octeți."
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "If the file previously was larger than this size, the extra data is lost. "
163 "If the file previously was shorter, it is extended, and the extended part "
164 "reads as null bytes (\\[aq]\\[rs]0\\[aq])."
165 msgstr ""
166 "Dacă fișierul a fost anterior mai mare decât această dimensiune, datele "
167 "suplimentare sunt pierdute. Dacă fișierul a fost anterior mai scurt, acesta "
168 "este extins, iar partea extinsă este citită ca octeți nuli („\\[rs]0”)."
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid "The file offset is not changed."
174 msgstr "Indicatorul de poziție al fișierului nu este modificat."
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "If the size changed, then the st_ctime and st_mtime fields (respectively, "
181 "time of last status change and time of last modification; see B<inode>(7)) "
182 "for the file are updated, and the set-user-ID and set-group-ID mode bits may "
183 "be cleared."
184 msgstr ""
185 "Dacă dimensiunea s-a modificat, câmpurile st_ctime și st_mtime (respectiv, "
186 "ora ultimei schimbări de stare și ora ultimei modificări; a se vedea "
187 "B<inode>(7)) pentru fișier sunt actualizate, iar biții de mod set-user-ID și "
188 "set-group-ID pot fi șterși."
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 msgid ""
194 "With B<ftruncate>(), the file must be open for writing; with B<truncate>(), "
195 "the file must be writable."
196 msgstr ""
197 "Cu B<ftruncate>(), fișierul trebuie să fie deschis pentru scriere; cu "
198 "B<truncate>(), fișierul trebuie să poată fi scris."
199
200 #. type: SH
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "RETURN VALUE"
205 msgstr "VALOAREA RETURNATĂ"
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
212 "to indicate the error."
213 msgstr ""
214 "În caz de succes, se returnează zero. În caz de eroare, se returnează -1, "
215 "iar I<errno> este configurată pentru a indica eroarea."
216
217 #. type: SH
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "ERRORS"
222 msgstr "ERORI-IEȘIRE"
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid "For B<truncate>():"
228 msgstr "Pentru B<truncate>():"
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "B<EACCES>"
235 msgstr "B<EACCES>"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "Search permission is denied for a component of the path prefix, or the named "
242 "file is not writable by the user. (See also B<path_resolution>(7).)"
243 msgstr ""
244 "Permisiunea de căutare este refuzată pentru o componentă a prefixului rutei, "
245 "sau fișierul numit nu poate fi scris de către utilizator; (a se vedea și "
246 "B<path_resolution>(7).)"
247
248 #. type: TP
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "B<EFAULT>"
253 msgstr "B<EFAULT>"
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 "The argument I<path> points outside the process's allocated address space."
260 msgstr ""
261 "Argumentul I<path> indică în afara spațiului de adrese alocat procesului."
262
263 #. type: TP
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "B<EFBIG>"
268 msgstr "B<EFBIG>"
269
270 #. type: Plain text
271 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
272 #: opensuse-tumbleweed
273 msgid "The argument I<length> is larger than the maximum file size. (XSI)"
274 msgstr ""
275 "Argumentul I<length> este mai mare decât dimensiunea maximă a fișierului. "
276 "(XSI)"
277
278 #. type: TP
279 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "B<ENOSPC>"
282 msgstr "B<ENOSPC>"
283
284 #. type: Plain text
285 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
286 msgid ""
287 "There is not enough space left on the device for extending the file size to "
288 "the given I<length>."
289 msgstr ""
290 "Nu mai este suficient spațiu disponibil pe dispozitiv pentru a mări "
291 "dimensiunea fișierului la lungimea specificată I<length>."
292
293 #. type: TP
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "B<EINTR>"
298 msgstr "B<EINTR>"
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid ""
304 "While blocked waiting to complete, the call was interrupted by a signal "
305 "handler; see B<fcntl>(2) and B<signal>(7)."
306 msgstr ""
307 "În timp ce era blocat în așteptarea finalizării, apelul a fost întrerupt de "
308 "un gestionar de semnal; a se vedea B<fcntl>(2) și B<signal>(7)."
309
310 #. type: TP
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "B<EINVAL>"
315 msgstr "B<EINVAL>"
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "The argument I<length> is negative or larger than the maximum file size."
322 msgstr ""
323 "Argumentul I<length> este negativ sau mai mare decât dimensiunea maximă a "
324 "fișierului."
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<EIO>"
331 msgstr "B<EIO>"
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 "An I/O error occurred updating the inode."
337 msgstr "A apărut o eroare de In/Ieș la actualizarea nodului-i."
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<EISDIR>"
344 msgstr "B<EISDIR>"
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 "The named file is a directory."
350 msgstr "Fișierul numit este un director."
351
352 #. type: TP
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "B<ELOOP>"
357 msgstr "B<ELOOP>"
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid "Too many symbolic links were encountered in translating the pathname."
363 msgstr ""
364 "S-au întâlnit prea multe legături simbolice la conversia numelui de rută."
365
366 #. type: TP
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "B<ENAMETOOLONG>"
371 msgstr "B<ENAMETOOLONG>"
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid ""
377 "A component of a pathname exceeded 255 characters, or an entire pathname "
378 "exceeded 1023 characters."
379 msgstr ""
380 "O componentă a unui nume de rută a depășit 255 de caractere sau un nume de "
381 "rută întreg a depășit 1023 de caractere."
382
383 #. type: TP
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "B<ENOENT>"
388 msgstr "B<ENOENT>"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid "The named file does not exist."
394 msgstr "Fișierul numit nu există."
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<ENOTDIR>"
401 msgstr "B<ENOTDIR>"
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 msgid "A component of the path prefix is not a directory."
407 msgstr "O componentă a prefixului de rută nu este un director."
408
409 #. type: TP
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 #, no-wrap
413 msgid "B<EPERM>"
414 msgstr "B<EPERM>"
415
416 #. This happens for at least MSDOS and VFAT filesystems
417 #. on kernel 2.6.13
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 msgid ""
422 "The underlying filesystem does not support extending a file beyond its "
423 "current size."
424 msgstr ""
425 "Sistemul de fișiere subiacent nu acceptă extinderea unui fișier dincolo de "
426 "dimensiunea sa curentă."
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 msgid "The operation was prevented by a file seal; see B<fcntl>(2)."
432 msgstr ""
433 "Operația a fost împiedicată de o sigilare de fișier; a se vedea B<fcntl>(2)."
434
435 #. type: TP
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid "B<EROFS>"
440 msgstr "B<EROFS>"
441
442 #. type: Plain text
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 msgid "The named file resides on a read-only filesystem."
446 msgstr "Fișierul numit se află pe un sistem de fișiere numai-pentru-citire."
447
448 #. type: TP
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "B<ETXTBSY>"
453 msgstr "B<ETXTBSY>"
454
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 msgid "The file is an executable file that is being executed."
459 msgstr "Fișierul este un fișier executabil care este în curs de execuție."
460
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 msgid ""
465 "For B<ftruncate>() the same errors apply, but instead of things that can be "
466 "wrong with I<path>, we now have things that can be wrong with the file "
467 "descriptor, I<fd>:"
468 msgstr ""
469 "Pentru B<ftruncate>() se aplică aceleași erori, dar în loc de lucruri care "
470 "pot fi greșite cu I<path>, avem acum lucruri care pot fi greșite cu "
471 "descriptorul de fișier, I<fd>:"
472
473 #. type: TP
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 #, no-wrap
477 msgid "B<EBADF>"
478 msgstr "B<EBADF>"
479
480 #. type: Plain text
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 msgid "I<fd> is not a valid file descriptor."
484 msgstr "I<descriptor-fișier> nu este un descriptor de fișier valid."
485
486 #. type: TP
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 #, no-wrap
490 msgid "B<EBADF> or B<EINVAL>"
491 msgstr "B<EBADF> sau B<EINVAL>"
492
493 #. type: Plain text
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 msgid "I<fd> is not open for writing."
497 msgstr "I<fd> nu este deschis pentru scriere."
498
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 msgid ""
503 "I<fd> does not reference a regular file or a POSIX shared memory object."
504 msgstr ""
505 "I<fd> nu face referire la un fișier obișnuit sau la un obiect de memorie "
506 "partajată POSIX."
507
508 #. type: TP
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 #, no-wrap
512 msgid "B<EINVAL> or B<EBADF>"
513 msgstr "B<EINVAL> sau B<EBADF>"
514
515 #. type: Plain text
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 msgid ""
519 "The file descriptor I<fd> is not open for writing. POSIX permits, and "
520 "portable applications should handle, either error for this case. (Linux "
521 "produces B<EINVAL>.)"
522 msgstr ""
523 "Descriptorul de fișier I<fd> nu este deschis pentru scriere. POSIX permite, "
524 "iar aplicațiile portabile ar trebui să gestioneze, ambele erori pentru acest "
525 "caz; (Linux produce B<EINVAL>)."
526
527 #. type: SH
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 #, no-wrap
531 msgid "VERSIONS"
532 msgstr "VERSIUNI"
533
534 #. At the very least: OSF/1, Solaris 7, and FreeBSD conform, mtk, Jan 2002
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 msgid ""
539 "The details in DESCRIPTION are for XSI-compliant systems. For non-XSI-"
540 "compliant systems, the POSIX standard allows two behaviors for "
541 "B<ftruncate>() when I<length> exceeds the file length (note that "
542 "B<truncate>() is not specified at all in such an environment): either "
543 "returning an error, or extending the file. Like most UNIX implementations, "
544 "Linux follows the XSI requirement when dealing with native filesystems. "
545 "However, some nonnative filesystems do not permit B<truncate>() and "
546 "B<ftruncate>() to be used to extend a file beyond its current length: a "
547 "notable example on Linux is VFAT."
548 msgstr ""
549 "Detaliile din DESCRIERE sunt pentru sistemele compatibile XSI. Pentru "
550 "sistemele neconforme cu XSI, standardul POSIX permite două comportamente "
551 "pentru B<ftruncate>() atunci când I<length> depășește lungimea fișierului "
552 "(rețineți că B<truncate>() nu este specificată deloc într-un astfel de "
553 "mediu): fie returnarea unei erori, fie extinderea fișierului. Ca majoritatea "
554 "implementărilor UNIX, Linux respectă cerința XSI atunci când are de-a face "
555 "cu sisteme de fișiere native. Cu toate acestea, unele sisteme de fișiere non-"
556 "native nu permit ca B<truncate>() și B<ftruncate>() să fie utilizate pentru "
557 "a extinde un fișier dincolo de lungimea sa curentă: un exemplu notabil pe "
558 "Linux este VFAT."
559
560 #. type: Plain text
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 msgid ""
564 "On some 32-bit architectures, the calling signature for these system calls "
565 "differ, for the reasons described in B<syscall>(2)."
566 msgstr ""
567 "Pe unele arhitecturi pe 32 de biți, semnătura de apelare pentru aceste "
568 "apeluri de sistem diferă, din motivele descrise în B<syscall>(2)."
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 "STANDARDS"
575 msgstr "STANDARDE"
576
577 #. type: Plain text
578 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
579 #: opensuse-tumbleweed
580 msgid "POSIX.1-2024."
581 msgstr "POSIX.1-2024."
582
583 #. type: SH
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 #, no-wrap
587 msgid "HISTORY"
588 msgstr "ISTORIC"
589
590 #. POSIX.1-1996 has
591 #. .BR ftruncate ().
592 #. POSIX.1-2001 also has
593 #. .BR truncate (),
594 #. as an XSI extension.
595 #. .P
596 #. SVr4 documents additional
597 #. .BR truncate ()
598 #. error conditions EMFILE, EMULTIHP, ENFILE, ENOLINK. SVr4 documents for
599 #. .BR ftruncate ()
600 #. an additional EAGAIN error condition.
601 #. type: Plain text
602 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
603 #: opensuse-tumbleweed
604 msgid "POSIX.1-2001, SVr4, 4.2BSD."
605 msgstr "POSIX.1-2001, SVr4, 4.2BSD."
606
607 #. type: Plain text
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 msgid ""
611 "The original Linux B<truncate>() and B<ftruncate>() system calls were not "
612 "designed to handle large file offsets. Consequently, Linux 2.4 added "
613 "B<truncate64>() and B<ftruncate64>() system calls that handle large "
614 "files. However, these details can be ignored by applications using glibc, "
615 "whose wrapper functions transparently employ the more recent system calls "
616 "where they are available."
617 msgstr ""
618 "Apelurile de sistem originale Linux B<truncate>() și B<ftruncate>() nu au "
619 "fost concepute pentru a gestiona decalaje de fișiere mari. În consecință, "
620 "Linux 2.4 a adăugat apelurile de sistem B<truncate64>() și B<ftruncate64>() "
621 "care gestionează fișiere mari. Cu toate acestea, aceste detalii pot fi "
622 "ignorate de aplicațiile care utilizează glibc, ale cărui funcții de "
623 "învăluire utilizează în mod transparent apelurile de sistem mai recente, "
624 "acolo unde acestea sunt disponibile."
625
626 #. type: SH
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 #, no-wrap
630 msgid "NOTES"
631 msgstr "NOTE"
632
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 "B<ftruncate>() can also be used to set the size of a POSIX shared memory "
638 "object; see B<shm_open>(3)."
639 msgstr ""
640 "B<ftruncate>() poate fi, de asemenea, utilizat pentru a defini dimensiunea "
641 "unui obiect de memorie partajată POSIX; consultați B<shm_open>(3)."
642
643 #. type: SH
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 #, no-wrap
647 msgid "BUGS"
648 msgstr "ERORI"
649
650 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12037
651 #. type: Plain text
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 msgid ""
655 "A header file bug in glibc 2.12 meant that the minimum value of "
656 "B<_POSIX_C_SOURCE> required to expose the declaration of B<ftruncate>() was "
657 "200809L instead of 200112L. This has been fixed in later glibc versions."
658 msgstr ""
659 "O eroare a fișierului de antet în glibc 2.12 însemna că valoarea minimă a "
660 "B<_POSIX_C_SOURCE> necesară pentru a expune declarația B<ftruncate>() era "
661 "200809L în loc de 200112L. Acest lucru a fost remediat în versiunile glibc "
662 "ulterioare."
663
664 #. type: SH
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 #, no-wrap
668 msgid "SEE ALSO"
669 msgstr "CONSULTAȚI ȘI"
670
671 #. type: Plain text
672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
674 msgid "B<truncate>(1), B<open>(2), B<stat>(2), B<path_resolution>(7)"
675 msgstr "B<truncate>(1), B<open>(2), B<stat>(2), B<path_resolution>(7)"
676
677 #. type: TH
678 #: debian-trixie
679 #, no-wrap
680 msgid "2024-06-15"
681 msgstr "15 iunie 2024"
682
683 #. type: TH
684 #: debian-trixie
685 #, no-wrap
686 msgid "Linux man-pages 6.9.1"
687 msgstr "Pagini de manual de Linux 6.9.1"
688
689 #. type: Plain text
690 #: debian-trixie
691 msgid "Standard C library (I<libc>, I<-lc>)"
692 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
693
694 #. type: Plain text
695 #: debian-trixie fedora-44 fedora-rawhide
696 msgid "The argument I<length> is larger than the maximum file size. (XSI)"
697 msgstr ""
698 "Argumentul I<length> este mai mare decât dimensiunea maximă a fișierului. "
699 "(XSI)"
700
701 #. type: Plain text
702 #: debian-trixie fedora-44 fedora-rawhide
703 msgid "POSIX.1-2008."
704 msgstr "POSIX.1-2008."
705
706 #. POSIX.1-1996 has
707 #. .BR ftruncate ().
708 #. POSIX.1-2001 also has
709 #. .BR truncate (),
710 #. as an XSI extension.
711 #. .P
712 #. SVr4 documents additional
713 #. .BR truncate ()
714 #. error conditions EMFILE, EMULTIHP, ENFILE, ENOLINK. SVr4 documents for
715 #. .BR ftruncate ()
716 #. an additional EAGAIN error condition.
717 #. type: Plain text
718 #: debian-trixie fedora-44 fedora-rawhide
719 msgid "POSIX.1-2001, 4.4BSD, SVr4 (first appeared in 4.2BSD)."
720 msgstr "POSIX.1-2001, 4.4BSD, SVr4 (a apărut prima dată în 4.2BSD)."
721
722 #. type: TH
723 #: fedora-44 fedora-rawhide
724 #, no-wrap
725 msgid "2024-07-23"
726 msgstr "23 iulie 2024"
727
728 #. type: TH
729 #: fedora-44 fedora-rawhide
730 #, no-wrap
731 msgid "Linux man-pages 6.13"
732 msgstr "Pagini de manual de Linux 6.13"
733
734 #. type: TH
735 #: mageia-cauldron
736 #, no-wrap
737 msgid "2025-10-29"
738 msgstr "29 octombrie 2025"
739
740 #. type: TH
741 #: mageia-cauldron
742 #, no-wrap
743 msgid "Linux man-pages 6.17"
744 msgstr "Pagini de manual de Linux 6.17"
745
746 #. type: TH
747 #: opensuse-leap-16-1 opensuse-tumbleweed
748 #, no-wrap
749 msgid "Linux man-pages (unreleased)"
750 msgstr "Pagini de manual Linux (nepublicate)"