Debian Codegraph @

po/pt_BR/man2/write.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 # Marcelo Pereira da Silva <[email protected]>, 2001.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:51+0200\n"
10 "PO-Revision-Date: 2001-06-02 19:20-0300\n"
11 "Last-Translator: Marcelo Pereira da Silva <[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 "write"
26 msgstr "write"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 fevereiro 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOME"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "write - write to a file descriptor"
53 msgstr "write - escreve para um descritor de arquivos"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "BIBLIOTECA"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SINOPSE"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>unistd.hE<gt>>\n"
80 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
84 #: opensuse-tumbleweed
85 #, fuzzy, no-wrap
86 #| msgid "B<ssize_t write(int >I<fd>B<, const void *>I<buf>B<, size_t >I<count>B<);>"
87 msgid ""
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 msgstr "B<ssize_t write(int >I<fd>B<, const void *>I<buf>B<, size_t >I<count>B<);>"
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "DESCRIÇÃO"
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 ""
103 "B<write>() writes up to I<count> bytes from the buffer starting at I<buf> "
104 "to the file referred to by the file descriptor I<fd>."
105 msgstr ""
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid ""
111 "The number of bytes written may be less than I<count> if, for example, there "
112 "is insufficient space on the underlying physical medium, or the "
113 "B<RLIMIT_FSIZE> resource limit is encountered (see B<setrlimit>(2)), or the "
114 "call was interrupted by a signal handler after having written less than "
115 "I<count> bytes. (See also B<pipe>(7).)"
116 msgstr ""
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 "For a seekable file (i.e., one to which B<lseek>(2) may be applied, for "
123 "example, a regular file) writing takes place at the file offset, and the "
124 "file offset is incremented by the number of bytes actually written. If the "
125 "file was B<open>(2)ed with B<O_APPEND>, the file offset is first set to the "
126 "end of the file before writing. The adjustment of the file offset and the "
127 "write operation are performed as an atomic step."
128 msgstr ""
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, fuzzy
134 #| msgid ""
135 #| "B<write> writes up to I<count> bytes to the file referenced by the file "
136 #| "descriptor I<fd> from the buffer starting at I<buf.> POSIX requires that "
137 #| "a B<read()> which can be proved to occur after a B<write()> has returned "
138 #| "returns the new data. Note that not all file systems are POSIX "
139 #| "conforming."
140 msgid ""
141 "POSIX requires that a B<read>(2) that can be proved to occur after a "
142 "B<write>() has returned will return the new data. Note that not all "
143 "filesystems are POSIX conforming."
144 msgstr ""
145 "B<write> escreve até que I<count> bytes sejam mandados para o arquivo "
146 "referenciado pelo descritor de arquivo I<fd> a partir do 'buffer' iniciando "
147 "em I<buf>. POSIX requer que um B<read()>, o qual pode ser programado para "
148 "ocorrer depois de um B<write()> foi retornado, retorne o novo dado. Note que "
149 "nem todos os sistemas de arquivos estão de acordo com a especificação POSIX."
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 "According to POSIX.1, if I<count> is greater than B<SSIZE_MAX>, the result "
156 "is implementation-defined; see NOTES for the upper limit on Linux."
157 msgstr ""
158
159 #. type: SH
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "RETURN VALUE"
164 msgstr "VALOR DE RETORNO"
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, fuzzy
170 #| msgid ""
171 #| "On success, zero is returned. On error, -1 is returned, and I<errno> is "
172 #| "set appropriately."
173 msgid ""
174 "On success, the number of bytes written is returned. On error, -1 is "
175 "returned, and I<errno> is set to indicate the error."
176 msgstr ""
177 "Em caso de sucesso, zero é retornado. Caso contrário, -1 é retornado, e "
178 "I<errno> é selecionado adequadamente."
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "Note that a successful B<write>() may transfer fewer than I<count> bytes. "
185 "Such partial writes can occur for various reasons; for example, because "
186 "there was insufficient space on the disk device to write all of the "
187 "requested bytes, or because a blocked B<write>() to a socket, pipe, or "
188 "similar was interrupted by a signal handler after it had transferred some, "
189 "but before it had transferred all of the requested bytes. In the event of a "
190 "partial write, the caller can make another B<write>() call to transfer the "
191 "remaining bytes. The subsequent call will either transfer further bytes or "
192 "may result in an error (e.g., if the disk is now full)."
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "If I<count> is zero and I<fd> refers to a regular file, then B<write>() may "
200 "return a failure status if one of the errors below is detected. If no "
201 "errors are detected, or error detection is not performed, 0 is returned "
202 "without causing any other effect. If I<count> is zero and I<fd> refers to a "
203 "file other than a regular file, the results are not specified."
204 msgstr ""
205
206 #. type: SH
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, no-wrap
210 msgid "ERRORS"
211 msgstr "ERROS"
212
213 #. type: TP
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, no-wrap
217 msgid "B<EAGAIN>"
218 msgstr "B<EAGAIN>"
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "The file descriptor I<fd> refers to a file other than a socket and has been "
225 "marked nonblocking (B<O_NONBLOCK>), and the write would block. See "
226 "B<open>(2) for further details on the B<O_NONBLOCK> flag."
227 msgstr ""
228
229 #. type: TP
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, no-wrap
233 msgid "B<EAGAIN> or B<EWOULDBLOCK>"
234 msgstr "B<EAGAIN> ou B<EWOULDBLOCK>"
235
236 #. Actually EAGAIN on Linux
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 "The file descriptor I<fd> refers to a socket and has been marked nonblocking "
242 "(B<O_NONBLOCK>), and the write would block. POSIX.1-2001 allows either "
243 "error to be returned for this case, and does not require these constants to "
244 "have the same value, so a portable application should check for both "
245 "possibilities."
246 msgstr ""
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<EBADF>"
253 msgstr "B<EBADF>"
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 "I<fd> is not a valid file descriptor or is not open for writing."
259 msgstr ""
260 "I<fd> não é um descritor de arquivo válido ou ele não está aberto para "
261 "escrita."
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<EDESTADDRREQ>"
268 msgstr "B<EDESTADDRREQ>"
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "I<fd> refers to a datagram socket for which a peer address has not been set "
275 "using B<connect>(2)."
276 msgstr ""
277
278 #. type: TP
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "B<EDQUOT>"
283 msgstr "B<EDQUOT>"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, fuzzy
289 #| msgid ""
290 #| "The device containing the file referred to by I<fd> has no room for the "
291 #| "data."
292 msgid ""
293 "The user's quota of disk blocks on the filesystem containing the file "
294 "referred to by I<fd> has been exhausted."
295 msgstr ""
296 "O dispositivo contendo o arquivo referido pelo I<fd> não tem espaço para os "
297 "dados."
298
299 #. type: TP
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "B<EFAULT>"
304 msgstr "B<EFAULT>"
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid "I<buf> is outside your accessible address space."
310 msgstr "I<buf> está fora do seu espaço de endereços acessíveis."
311
312 #. type: TP
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "B<EFBIG>"
317 msgstr "B<EFBIG>"
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid ""
323 "An attempt was made to write a file that exceeds the implementation-defined "
324 "maximum file size or the process's file size limit, or to write at a "
325 "position past the maximum allowed offset."
326 msgstr ""
327 "Uma tentativa de se escrever em um arquivo excedeu o tamanho máximo do "
328 "arquivo ou o limite de tamanho do arquivo do processo definido na "
329 "implementação, ou escrever na posição passada que é maior que o 'offset' "
330 "permitido."
331
332 #. type: TP
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "B<EINTR>"
337 msgstr "B<EINTR>"
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid ""
343 "The call was interrupted by a signal before any data was written; see "
344 "B<signal>(7)."
345 msgstr ""
346 "A chamada foi interrompida por um sinal antes de que qualquer dado fosse "
347 "escrito; veja B<signal>(7)."
348
349 #. type: TP
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, no-wrap
353 msgid "B<EINVAL>"
354 msgstr "B<EINVAL>"
355
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 msgid ""
360 "I<fd> is attached to an object which is unsuitable for writing; or the file "
361 "was opened with the B<O_DIRECT> flag, and either the address specified in "
362 "I<buf>, the value specified in I<count>, or the file offset is not suitably "
363 "aligned."
364 msgstr ""
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<EIO>"
371 msgstr "B<EIO>"
372
373 #. commit 088737f44bbf6378745f5b57b035e57ee3dc4750
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid ""
378 "A low-level I/O error occurred while modifying the inode. This error may "
379 "relate to the write-back of data written by an earlier B<write>(), which may "
380 "have been issued to a different file descriptor on the same file. Since "
381 "Linux 4.13, errors from write-back come with a promise that they I<may> be "
382 "reported by subsequent. B<write>() requests, and I<will> be reported by a "
383 "subsequent B<fsync>(2) (whether or not they were also reported by "
384 "B<write>()). An alternate cause of B<EIO> on networked filesystems is when "
385 "an advisory lock had been taken out on the file descriptor and this lock has "
386 "been lost. See the I<Lost locks> section of B<fcntl>(2) for further "
387 "details."
388 msgstr ""
389
390 #. type: TP
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 #, no-wrap
394 msgid "B<ENOSPC>"
395 msgstr "B<ENOSPC>"
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 msgid ""
401 "The device containing the file referred to by I<fd> has no room for the data."
402 msgstr ""
403 "O dispositivo contendo o arquivo referido pelo I<fd> não tem espaço para os "
404 "dados."
405
406 #. type: TP
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "B<EPERM>"
411 msgstr "B<EPERM>"
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<EPIPE>"
424 msgstr "B<EPIPE>"
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 #, fuzzy
430 #| msgid ""
431 #| "I<fd> is connected to a pipe or socket whose reading end is closed. When "
432 #| "this happens the writing process will receive a B<SIGPIPE> signal; if it "
433 #| "catches, blocks or ignores this the error B<EPIPE> is returned."
434 msgid ""
435 "I<fd> is connected to a pipe or socket whose reading end is closed. When "
436 "this happens the writing process will also receive a B<SIGPIPE> signal. "
437 "(Thus, the write return value is seen only if the program catches, blocks or "
438 "ignores this signal.)"
439 msgstr ""
440 "I<fd> é conectado em um pipe ou socket no qual a leitura está fechada. "
441 "Quando isto ocorre o processo de escrita receberá um sinal B<SIGPIPE>; se "
442 "ele capturar, bloquear ou ignorar este o erro B<EPIPE> é retornado."
443
444 #. type: Plain text
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 msgid "Other errors may occur, depending on the object connected to I<fd>."
448 msgstr "Outros erros podem ocorrer, dependendo do objeto conectado em I<fd>."
449
450 #. type: SH
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 #, no-wrap
454 msgid "STANDARDS"
455 msgstr "PADRÕES"
456
457 #. type: Plain text
458 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
459 #: opensuse-tumbleweed
460 msgid "POSIX.1-2024."
461 msgstr "POSIX.1-2024."
462
463 #. type: SH
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 #, no-wrap
467 msgid "HISTORY"
468 msgstr "HISTÓRICO"
469
470 #. SVr4 documents additional error
471 #. conditions EDEADLK, ENOLCK, ENOLNK, ENOSR, ENXIO, or ERANGE.
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 msgid "SVr4, 4.3BSD, POSIX.1-2001."
476 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid ""
482 "Under SVr4 a write may be interrupted and return B<EINTR> at any point, not "
483 "just before any data is written."
484 msgstr ""
485 "No SVr4 uma escrita pode ser interrompida e retornada B<EINTR> em qualquer "
486 "ponto, não justamente antes de qualquer dado ser escrito."
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 "NOTES"
493 msgstr "NOTAS"
494
495 #. type: Plain text
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 msgid ""
499 "A successful return from B<write>() does not make any guarantee that data "
500 "has been committed to disk. On some filesystems, including NFS, it does not "
501 "even guarantee that space has successfully been reserved for the data. In "
502 "this case, some errors might be delayed until a future B<write>(), "
503 "B<fsync>(2), or even B<close>(2). The only way to be sure is to call "
504 "B<fsync>(2) after you are done writing all your data."
505 msgstr ""
506
507 #. type: Plain text
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 msgid ""
511 "If a B<write>() is interrupted by a signal handler before any bytes are "
512 "written, then the call fails with the error B<EINTR>; if it is interrupted "
513 "after at least one byte has been written, the call succeeds, and returns the "
514 "number of bytes written."
515 msgstr ""
516
517 #. commit e28cc71572da38a5a12c1cfe4d7032017adccf69
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 msgid ""
522 "On Linux, B<write>() (and similar system calls) will transfer at most "
523 "0x7ffff000 (2,147,479,552) bytes, returning the number of bytes actually "
524 "transferred. (This is true on both 32-bit and 64-bit systems.)"
525 msgstr ""
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid ""
531 "An error return value while performing B<write>() using direct I/O does not "
532 "mean the entire write has failed. Partial data may be written and the data "
533 "at the file offset on which the B<write>() was attempted should be "
534 "considered inconsistent."
535 msgstr ""
536
537 #. type: SH
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "BUGS"
542 msgstr "BUGS"
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid ""
548 "According to POSIX.1-2008/SUSv4 Section XSI 2.9.7 (\"Thread Interactions "
549 "with Regular File Operations\"):"
550 msgstr ""
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 "All of the following functions shall be atomic with respect to each other in "
557 "the effects specified in POSIX.1-2008 when they operate on regular files or "
558 "symbolic links: ..."
559 msgstr ""
560
561 #
562 #. http://thread.gmane.org/gmane.linux.kernel/1649458
563 #. From: Michael Kerrisk (man-pages <mtk.manpages <at> gmail.com>
564 #. Subject: Update of file offset on write() etc. is non-atomic with I/O
565 #. Date: 2014-02-17 15:41:37 GMT
566 #. Newsgroups: gmane.linux.kernel, gmane.linux.file-systems
567 #. commit 9c225f2655e36a470c4f58dbbc99244c5fc7f2d4
568 #. Author: Linus Torvalds <[email protected]>
569 #. Date: Mon Mar 3 09:36:58 2014 -0800
570 #. vfs: atomic f_pos accesses as per POSIX
571 #. type: Plain text
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 msgid ""
575 "Among the APIs subsequently listed are B<write>() and B<writev>(2). And "
576 "among the effects that should be atomic across threads (and processes) are "
577 "updates of the file offset. However, before Linux 3.14, this was not the "
578 "case: if two processes that share an open file description (see B<open>(2)) "
579 "perform a B<write>() (or B<writev>(2)) at the same time, then the I/O "
580 "operations were not atomic with respect to updating the file offset, with "
581 "the result that the blocks of data output by the two processes might "
582 "(incorrectly) overlap. This problem was fixed in Linux 3.14."
583 msgstr ""
584
585 #. type: SH
586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
588 #, no-wrap
589 msgid "SEE ALSO"
590 msgstr "VEJA TAMBÉM"
591
592 #. type: Plain text
593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
595 msgid ""
596 "B<close>(2), B<fcntl>(2), B<fsync>(2), B<ioctl>(2), B<lseek>(2), B<open>(2), "
597 "B<pwrite>(2), B<read>(2), B<select>(2), B<writev>(2), B<fwrite>(3)"
598 msgstr ""
599 "B<close>(2), B<fcntl>(2), B<fsync>(2), B<ioctl>(2), B<lseek>(2), B<open>(2), "
600 "B<pwrite>(2), B<read>(2), B<select>(2), B<writev>(2), B<fwrite>(3)"
601
602 #. type: TH
603 #: debian-trixie
604 #, no-wrap
605 msgid "2024-05-02"
606 msgstr "2 maio 2024"
607
608 #. type: TH
609 #: debian-trixie
610 #, no-wrap
611 msgid "Linux man-pages 6.9.1"
612 msgstr "Linux man-pages 6.9.1"
613
614 #. type: Plain text
615 #: debian-trixie
616 msgid "Standard C library (I<libc>, I<-lc>)"
617 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
618
619 #. type: Plain text
620 #: debian-trixie fedora-44 fedora-rawhide
621 #, fuzzy, no-wrap
622 #| msgid "B<ssize_t write(int >I<fd>B<, const void *>I<buf>B<, size_t >I<count>B<);>"
623 msgid "B<ssize_t write(int >I<fd>B<, const void >I<buf>B<[.>I<count>B<], size_t >I<count>B<);>\n"
624 msgstr "B<ssize_t write(int >I<fd>B<, const void *>I<buf>B<, size_t >I<count>B<);>"
625
626 #. type: Plain text
627 #: debian-trixie fedora-44 fedora-rawhide
628 msgid "POSIX.1-2008."
629 msgstr "POSIX.1-2008."
630
631 #. type: TH
632 #: fedora-44 fedora-rawhide
633 #, no-wrap
634 msgid "2024-07-23"
635 msgstr "23 julho 2024"
636
637 #. type: TH
638 #: fedora-44 fedora-rawhide
639 #, no-wrap
640 msgid "Linux man-pages 6.13"
641 msgstr "Linux man-pages 6.13"
642
643 #. type: TH
644 #: mageia-cauldron
645 #, no-wrap
646 msgid "Linux man-pages 6.17"
647 msgstr "Linux man-pages 6.17"
648
649 #. type: TH
650 #: opensuse-leap-16-1 opensuse-tumbleweed
651 #, no-wrap
652 msgid "Linux man-pages (unreleased)"
653 msgstr "Linux man-pages (não lançado)"