Debian Codegraph @

po/pt_BR/man2/truncate.2.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # André Luiz Fassone <[email protected]>, 2001.
5 # Ricardo C.O.Freitas <[email protected]>, 2001.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
10 "PO-Revision-Date: 2001-06-02 19:20-0300\n"
11 "Last-Translator: Ricardo C.O.Freitas <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19 "X-Generator: Virtaal 1.0.0-beta1\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "truncate"
26 msgstr "truncate"
27
28 #. type: TH
29 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-04-12"
32 msgstr "12 abril 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Linux man-pages 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "NOME"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "truncate, ftruncate - truncate a file to a specified length"
52 msgstr "truncate, ftruncate - trunca o arquivo para um tamanho especificado"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "BIBLIOTECA"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "SINOPSE"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>unistd.hE<gt>>\n"
79 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, fuzzy, no-wrap
85 #| msgid "B<int truncate(const char *>I<path>B<, off_t >I<length>B<);>"
86 msgid ""
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 msgstr "B<int truncate(const char *>I<path>B<, off_t >I<length>B<);>"
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 msgid ""
95 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
96 msgstr ""
97 "Requisitos de macro de teste de recursos para o glibc (consulte "
98 "B<feature_test_macros>(7)):"
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid "B<truncate>():"
104 msgstr "B<truncate>():"
105
106 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 #, no-wrap
111 msgid ""
112 " _XOPEN_SOURCE E<gt>= 500\n"
113 " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
114 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
115 msgstr ""
116 " _XOPEN_SOURCE E<gt>= 500\n"
117 " || /* Desde o glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
118 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid "B<ftruncate>():"
124 msgstr "B<ftruncate>():"
125
126 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, fuzzy, no-wrap
131 #| msgid ""
132 #| "_ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L\n"
133 #| " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n"
134 #| " || /* Glibc versions E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
135 msgid ""
136 " _XOPEN_SOURCE E<gt>= 500\n"
137 " || /* Since glibc 2.3.5: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
138 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
139 msgstr ""
140 "_ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L\n"
141 " || /* Desde o glibc 2.19: */ _DEFAULT_SOURCE\n"
142 " || /* Glibc versões E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
143
144 #. type: SH
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, no-wrap
148 msgid "DESCRIPTION"
149 msgstr "DESCRIÇÃO"
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "The B<truncate>() and B<ftruncate>() functions cause the regular file "
156 "named by I<path> or referenced by I<fd> to be truncated to a size of "
157 "precisely I<length> bytes."
158 msgstr ""
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid ""
164 "If the file previously was larger than this size, the extra data is lost. "
165 "If the file previously was shorter, it is extended, and the extended part "
166 "reads as null bytes (\\[aq]\\[rs]0\\[aq])."
167 msgstr ""
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, fuzzy
173 #| msgid "The named file does not exist."
174 msgid "The file offset is not changed."
175 msgstr "O arquivo nomeado não existe."
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 msgid ""
181 "If the size changed, then the st_ctime and st_mtime fields (respectively, "
182 "time of last status change and time of last modification; see B<inode>(7)) "
183 "for the file are updated, and the set-user-ID and set-group-ID mode bits may "
184 "be cleared."
185 msgstr ""
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 "With B<ftruncate>(), the file must be open for writing; with B<truncate>(), "
192 "the file must be writable."
193 msgstr ""
194
195 #. type: SH
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "RETURN VALUE"
200 msgstr "VALOR DE RETORNO"
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
207 "to indicate the error."
208 msgstr ""
209 "Em caso de sucesso, zero é retornado. Em caso de erro, -1 é retornado, e "
210 "I<errno> é definido para indicar o erro."
211
212 #. type: SH
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "ERRORS"
217 msgstr "ERROS"
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid "For B<truncate>():"
223 msgstr "Para B<truncate>():"
224
225 #. type: TP
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 #, no-wrap
229 msgid "B<EACCES>"
230 msgstr "B<EACCES>"
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, fuzzy
236 #| msgid "Search permission is denied for a component of the path prefix."
237 msgid ""
238 "Search permission is denied for a component of the path prefix, or the named "
239 "file is not writable by the user. (See also B<path_resolution>(7).)"
240 msgstr "Permissão de busca é negada para um componte do caminho."
241
242 #. type: TP
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "B<EFAULT>"
247 msgstr "B<EFAULT>"
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 #, fuzzy
253 #| msgid "I<Path> points outside the process's allocated address space."
254 msgid ""
255 "The argument I<path> points outside the process's allocated address space."
256 msgstr ""
257 "I<Path> aponta para fora do espaço de endereços alocados pelo processo."
258
259 #. type: TP
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "B<EFBIG>"
264 msgstr "B<EFBIG>"
265
266 #. type: Plain text
267 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
268 #: opensuse-tumbleweed
269 msgid "The argument I<length> is larger than the maximum file size. (XSI)"
270 msgstr ""
271
272 #. type: TP
273 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
274 #, no-wrap
275 msgid "B<ENOSPC>"
276 msgstr "B<ENOSPC>"
277
278 #. type: Plain text
279 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "There is not enough space left on the device for extending the file size to "
282 "the given I<length>."
283 msgstr ""
284
285 #. type: TP
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "B<EINTR>"
290 msgstr "B<EINTR>"
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid ""
296 "While blocked waiting to complete, the call was interrupted by a signal "
297 "handler; see B<fcntl>(2) and B<signal>(7)."
298 msgstr ""
299
300 #. type: TP
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "B<EINVAL>"
305 msgstr "B<EINVAL>"
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "The argument I<length> is negative or larger than the maximum file size."
312 msgstr ""
313
314 #. type: TP
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "B<EIO>"
319 msgstr "B<EIO>"
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid "An I/O error occurred updating the inode."
325 msgstr "Um erro de E/S ocorreu atualizando o inode."
326
327 #. type: TP
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "B<EISDIR>"
332 msgstr "B<EISDIR>"
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid "The named file is a directory."
338 msgstr "O arquivo nomeado é um diretório."
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<ELOOP>"
345 msgstr "B<ELOOP>"
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 "Too many symbolic links were encountered in translating the pathname."
351 msgstr "Muitas ligações simbólicas foram encontradas na tradução do caminho."
352
353 #. type: TP
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, no-wrap
357 msgid "B<ENAMETOOLONG>"
358 msgstr "B<ENAMETOOLONG>"
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid ""
364 "A component of a pathname exceeded 255 characters, or an entire pathname "
365 "exceeded 1023 characters."
366 msgstr ""
367 "Um componente do caminho de busca excedeu 255 caracteres, ou o caminho "
368 "inteiro excedeu 1023 caracteres."
369
370 #. type: TP
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "B<ENOENT>"
375 msgstr "B<ENOENT>"
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid "The named file does not exist."
381 msgstr "O arquivo nomeado não existe."
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<ENOTDIR>"
388 msgstr "B<ENOTDIR>"
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 "A component of the path prefix is not a directory."
394 msgstr "Um componente do prefixo do caminho não é um diretório."
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<EPERM>"
401 msgstr "B<EPERM>"
402
403 #. This happens for at least MSDOS and VFAT filesystems
404 #. on kernel 2.6.13
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 msgid ""
409 "The underlying filesystem does not support extending a file beyond its "
410 "current size."
411 msgstr ""
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid "The operation was prevented by a file seal; see B<fcntl>(2)."
417 msgstr ""
418
419 #. type: TP
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 #, no-wrap
423 msgid "B<EROFS>"
424 msgstr "B<EROFS>"
425
426 #. type: Plain text
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 msgid "The named file resides on a read-only filesystem."
430 msgstr "O arquivo nomeado está em um sistema de arquivo somente para leitura."
431
432 #. type: TP
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "B<ETXTBSY>"
437 msgstr "B<ETXTBSY>"
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, fuzzy
443 #| msgid ""
444 #| "The file is a pure procedure (shared text) file that is being executed."
445 msgid "The file is an executable file that is being executed."
446 msgstr ""
447 "O arquivo é um arquivo de procedimento puro (texto compartilhado) que está "
448 "sendo executado."
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 msgid ""
454 "For B<ftruncate>() the same errors apply, but instead of things that can be "
455 "wrong with I<path>, we now have things that can be wrong with the file "
456 "descriptor, I<fd>:"
457 msgstr ""
458
459 #. type: TP
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 #, no-wrap
463 msgid "B<EBADF>"
464 msgstr "B<EBADF>"
465
466 #. type: Plain text
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 msgid "I<fd> is not a valid file descriptor."
470 msgstr "I<fd> não é um descritor de arquivo válido."
471
472 #. type: TP
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "B<EBADF> or B<EINVAL>"
477 msgstr "B<EBADF> ou B<EINVAL>"
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 msgid "I<fd> is not open for writing."
483 msgstr "I<fd> não é uma arquivo aberto para escrita."
484
485 #. type: Plain text
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 msgid ""
489 "I<fd> does not reference a regular file or a POSIX shared memory object."
490 msgstr ""
491
492 #. type: TP
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 #, no-wrap
496 msgid "B<EINVAL> or B<EBADF>"
497 msgstr "B<EINVAL> ou B<EBADF>"
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 "The file descriptor I<fd> is not open for writing. POSIX permits, and "
504 "portable applications should handle, either error for this case. (Linux "
505 "produces B<EINVAL>.)"
506 msgstr ""
507
508 #. type: SH
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 #, no-wrap
512 msgid "VERSIONS"
513 msgstr "VERSÕES"
514
515 #. At the very least: OSF/1, Solaris 7, and FreeBSD conform, mtk, Jan 2002
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 "The details in DESCRIPTION are for XSI-compliant systems. For non-XSI-"
521 "compliant systems, the POSIX standard allows two behaviors for "
522 "B<ftruncate>() when I<length> exceeds the file length (note that "
523 "B<truncate>() is not specified at all in such an environment): either "
524 "returning an error, or extending the file. Like most UNIX implementations, "
525 "Linux follows the XSI requirement when dealing with native filesystems. "
526 "However, some nonnative filesystems do not permit B<truncate>() and "
527 "B<ftruncate>() to be used to extend a file beyond its current length: a "
528 "notable example on Linux is VFAT."
529 msgstr ""
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid ""
535 "On some 32-bit architectures, the calling signature for these system calls "
536 "differ, for the reasons described in B<syscall>(2)."
537 msgstr ""
538
539 #. type: SH
540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
542 #, no-wrap
543 msgid "STANDARDS"
544 msgstr "PADRÕES"
545
546 #. type: Plain text
547 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
548 #: opensuse-tumbleweed
549 msgid "POSIX.1-2024."
550 msgstr "POSIX.1-2024."
551
552 #. type: SH
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 #, no-wrap
556 msgid "HISTORY"
557 msgstr "HISTÓRICO"
558
559 #. POSIX.1-1996 has
560 #. .BR ftruncate ().
561 #. POSIX.1-2001 also has
562 #. .BR truncate (),
563 #. as an XSI extension.
564 #. .P
565 #. SVr4 documents additional
566 #. .BR truncate ()
567 #. error conditions EMFILE, EMULTIHP, ENFILE, ENOLINK. SVr4 documents for
568 #. .BR ftruncate ()
569 #. an additional EAGAIN error condition.
570 #. type: Plain text
571 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
572 #: opensuse-tumbleweed
573 msgid "POSIX.1-2001, SVr4, 4.2BSD."
574 msgstr "POSIX.1-2001, SVr4, 4.2BSD."
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 msgid ""
580 "The original Linux B<truncate>() and B<ftruncate>() system calls were not "
581 "designed to handle large file offsets. Consequently, Linux 2.4 added "
582 "B<truncate64>() and B<ftruncate64>() system calls that handle large "
583 "files. However, these details can be ignored by applications using glibc, "
584 "whose wrapper functions transparently employ the more recent system calls "
585 "where they are available."
586 msgstr ""
587
588 #. type: SH
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 #, no-wrap
592 msgid "NOTES"
593 msgstr "NOTAS"
594
595 #. type: Plain text
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 msgid ""
599 "B<ftruncate>() can also be used to set the size of a POSIX shared memory "
600 "object; see B<shm_open>(3)."
601 msgstr ""
602
603 #. type: SH
604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
606 #, no-wrap
607 msgid "BUGS"
608 msgstr "BUGS"
609
610 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12037
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 "A header file bug in glibc 2.12 meant that the minimum value of "
616 "B<_POSIX_C_SOURCE> required to expose the declaration of B<ftruncate>() was "
617 "200809L instead of 200112L. This has been fixed in later glibc versions."
618 msgstr ""
619
620 #. type: SH
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid "SEE ALSO"
625 msgstr "VEJA TAMBÉM"
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 msgid "B<truncate>(1), B<open>(2), B<stat>(2), B<path_resolution>(7)"
631 msgstr "B<truncate>(1), B<open>(2), B<stat>(2), B<path_resolution>(7)"
632
633 #. type: TH
634 #: debian-trixie
635 #, no-wrap
636 msgid "2024-06-15"
637 msgstr "15 junho 2024"
638
639 #. type: TH
640 #: debian-trixie
641 #, no-wrap
642 msgid "Linux man-pages 6.9.1"
643 msgstr "Linux man-pages 6.9.1"
644
645 #. type: Plain text
646 #: debian-trixie
647 msgid "Standard C library (I<libc>, I<-lc>)"
648 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
649
650 #. type: Plain text
651 #: debian-trixie fedora-44 fedora-rawhide
652 msgid "The argument I<length> is larger than the maximum file size. (XSI)"
653 msgstr ""
654
655 #. type: Plain text
656 #: debian-trixie fedora-44 fedora-rawhide
657 msgid "POSIX.1-2008."
658 msgstr "POSIX.1-2008."
659
660 #. POSIX.1-1996 has
661 #. .BR ftruncate ().
662 #. POSIX.1-2001 also has
663 #. .BR truncate (),
664 #. as an XSI extension.
665 #. .P
666 #. SVr4 documents additional
667 #. .BR truncate ()
668 #. error conditions EMFILE, EMULTIHP, ENFILE, ENOLINK. SVr4 documents for
669 #. .BR ftruncate ()
670 #. an additional EAGAIN error condition.
671 #. type: Plain text
672 #: debian-trixie fedora-44 fedora-rawhide
673 #, fuzzy
674 #| msgid "POSIX.1-2001, POSIX.1-2008, SVr4, 4.4BSD."
675 msgid "POSIX.1-2001, 4.4BSD, SVr4 (first appeared in 4.2BSD)."
676 msgstr "POSIX.1-2001, POSIX.1-2008, SVr4, 4.4BSD."
677
678 #. type: TH
679 #: fedora-44 fedora-rawhide
680 #, no-wrap
681 msgid "2024-07-23"
682 msgstr "23 julho 2024"
683
684 #. type: TH
685 #: fedora-44 fedora-rawhide
686 #, no-wrap
687 msgid "Linux man-pages 6.13"
688 msgstr "Linux man-pages 6.13"
689
690 #. type: TH
691 #: mageia-cauldron
692 #, no-wrap
693 msgid "2025-10-29"
694 msgstr "29 outubro 2025"
695
696 #. type: TH
697 #: mageia-cauldron
698 #, no-wrap
699 msgid "Linux man-pages 6.17"
700 msgstr "Linux man-pages 6.17"
701
702 #. type: TH
703 #: opensuse-leap-16-1 opensuse-tumbleweed
704 #, no-wrap
705 msgid "Linux man-pages (unreleased)"
706 msgstr "Linux man-pages (não lançado)"