Debian Codegraph @

po/pt_BR/man2/readv.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:39+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 "readv"
26 msgstr "readv"
27
28 #. type: TH
29 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-22"
32 msgstr "22 fevereiro 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 #, fuzzy
52 msgid ""
53 "readv, writev, preadv, pwritev, preadv2, pwritev2 - read or write data into "
54 "multiple buffers"
55 msgstr "readv, writev - lê ou escreve um vetor"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "BIBLIOTECA"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "SINOPSE"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>sys/uio.hE<gt>>\n"
82 msgstr "B<#include E<lt>sys/uio.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, fuzzy, no-wrap
88 #| msgid ""
89 #| "B<ssize_t preadv2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
90 #| "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
91 msgid ""
92 "B<ssize_t readv(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<);>\n"
93 "B<ssize_t writev(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<);>\n"
94 msgstr ""
95 "B<ssize_t preadv2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
96 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
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 #, fuzzy, no-wrap
102 #| msgid ""
103 #| "B<ssize_t preadv2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
104 #| "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
105 msgid ""
106 "B<ssize_t preadv(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
107 "B< off_t >I<offset>B<);>\n"
108 "B<ssize_t pwritev(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
109 "B< off_t >I<offset>B<);>\n"
110 msgstr ""
111 "B<ssize_t preadv2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
112 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 #, fuzzy, no-wrap
118 #| msgid ""
119 #| "B<ssize_t pwritev2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
120 #| "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
121 msgid ""
122 "B<ssize_t preadv2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
123 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
124 "B<ssize_t pwritev2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
125 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
126 msgstr ""
127 "B<ssize_t pwritev2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
128 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
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 msgid ""
134 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
135 msgstr ""
136 "Requisitos de macro de teste de recursos para o glibc (consulte "
137 "B<feature_test_macros>(7)):"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 #, fuzzy
143 #| msgid "preadv() and pwritev()"
144 msgid "B<preadv>(), B<pwritev>():"
145 msgstr "preadv() e pwritev()"
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 #, no-wrap
151 msgid ""
152 " Since glibc 2.19:\n"
153 " _DEFAULT_SOURCE\n"
154 " glibc 2.19 and earlier:\n"
155 " _BSD_SOURCE\n"
156 msgstr ""
157 " Desde o glibc 2.19:\n"
158 " _DEFAULT_SOURCE\n"
159 " glibc 2.19 e anterior:\n"
160 " _BSD_SOURCE\n"
161
162 #. type: SH
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 #, no-wrap
166 msgid "DESCRIPTION"
167 msgstr "DESCRIÇÃO"
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 msgid ""
173 "The B<readv>() system call reads I<iovcnt> buffers from the file associated "
174 "with the file descriptor I<fd> into the buffers described by I<iov> "
175 "(\"scatter input\")."
176 msgstr ""
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "The B<writev>() system call writes I<iovcnt> buffers of data described by "
183 "I<iov> to the file associated with the file descriptor I<fd> (\"gather "
184 "output\")."
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 "The pointer I<iov> points to an array of I<iovec> structures, described in "
192 "B<iovec>(3type)."
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 "The B<readv>() system call works just like B<read>(2) except that multiple "
200 "buffers are filled."
201 msgstr ""
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid ""
207 "The B<writev>() system call works just like B<write>(2) except that "
208 "multiple buffers are written out."
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid ""
215 "Buffers are processed in array order. This means that B<readv>() "
216 "completely fills I<iov[0]> before proceeding to I<iov[1]>, and so on. (If "
217 "there is insufficient data, then not all buffers pointed to by I<iov> may be "
218 "filled.) Similarly, B<writev>() writes out the entire contents of "
219 "I<iov[0]> before proceeding to I<iov[1]>, and so on."
220 msgstr ""
221
222 #. Regarding atomicity, see https://bugzilla.kernel.org/show_bug.cgi?id=10596
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "The data transfers performed by B<readv>() and B<writev>() are atomic: the "
228 "data written by B<writev>() is written as a single block that is not "
229 "intermingled with output from writes in other processes; analogously, "
230 "B<readv>() is guaranteed to read a contiguous block of data from the file, "
231 "regardless of read operations performed in other threads or processes that "
232 "have file descriptors referring to the same open file description (see "
233 "B<open>(2))."
234 msgstr ""
235
236 #. type: SS
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 #, no-wrap
240 msgid "preadv() and pwritev()"
241 msgstr "preadv() e pwritev()"
242
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 msgid ""
247 "The B<preadv>() system call combines the functionality of B<readv>() and "
248 "B<pread>(2). It performs the same task as B<readv>(), but adds a fourth "
249 "argument, I<offset>, which specifies the file offset at which the input "
250 "operation is to be performed."
251 msgstr ""
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid ""
257 "The B<pwritev>() system call combines the functionality of B<writev>() and "
258 "B<pwrite>(2). It performs the same task as B<writev>(), but adds a fourth "
259 "argument, I<offset>, which specifies the file offset at which the output "
260 "operation is to be performed."
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "The file offset is not changed by these system calls. The file referred to "
268 "by I<fd> must be capable of seeking."
269 msgstr ""
270
271 #. type: SS
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 #, no-wrap
275 msgid "preadv2() and pwritev2()"
276 msgstr "preadv2() e pwritev2()"
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 msgid ""
282 "These system calls are similar to B<preadv>() and B<pwritev>() calls, but "
283 "add a fifth argument, I<flags>, which modifies the behavior on a per-call "
284 "basis."
285 msgstr ""
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid ""
291 "Unlike B<preadv>() and B<pwritev>(), if the I<offset> argument is -1, then "
292 "the current file offset is used and updated."
293 msgstr ""
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "The I<flags> argument contains a bitwise OR of zero or more of the following "
300 "flags:"
301 msgstr ""
302
303 #. type: TP
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "B<RWF_DSYNC> (since Linux 4.7)"
308 msgstr ""
309
310 #. commit e864f39569f4092c2b2bc72c773b6e486c7e3bd9
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "Provide a per-write equivalent of the B<O_DSYNC> B<open>(2) flag. This "
316 "flag is meaningful only for B<pwritev2>(), and its effect applies only to "
317 "the data range written by the system call."
318 msgstr ""
319
320 #. type: TP
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "B<RWF_HIPRI> (since Linux 4.6)"
325 msgstr ""
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 msgid ""
331 "High priority read/write. Allows block-based filesystems to use polling of "
332 "the device, which provides lower latency, but may use additional resources. "
333 "(Currently, this feature is usable only on a file descriptor opened using "
334 "the B<O_DIRECT> flag.)"
335 msgstr ""
336
337 #. type: TP
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "B<RWF_SYNC> (since Linux 4.7)"
342 msgstr ""
343
344 #. commit e864f39569f4092c2b2bc72c773b6e486c7e3bd9
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 msgid ""
349 "Provide a per-write equivalent of the B<O_SYNC> B<open>(2) flag. This flag "
350 "is meaningful only for B<pwritev2>(), and its effect applies only to the "
351 "data range written by the system call."
352 msgstr ""
353
354 #. type: TP
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, no-wrap
358 msgid "B<RWF_NOWAIT> (since Linux 4.14)"
359 msgstr ""
360
361 #. commit 3239d834847627b6634a4139cf1dc58f6f137a46
362 #. commit 91f9943e1c7b6638f27312d03fe71fcc67b23571
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid ""
367 "Do not wait for data which is not immediately available. If this flag is "
368 "specified, the B<preadv2>() system call will return instantly if it would "
369 "have to read data from the backing storage or wait for a lock. If some data "
370 "was successfully read, it will return the number of bytes read. If no bytes "
371 "were read, it will return -1 and set I<errno> to B<EAGAIN> (but see "
372 "B<BUGS>). Currently, this flag is meaningful only for B<preadv2>()."
373 msgstr ""
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<RWF_APPEND> (since Linux 4.16)"
380 msgstr ""
381
382 #. commit e1fc742e14e01d84d9693c4aca4ab23da65811fb
383 #. type: Plain text
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 msgid ""
387 "Provide a per-write equivalent of the B<O_APPEND> B<open>(2) flag. This "
388 "flag is meaningful only for B<pwritev2>(), and its effect applies only to "
389 "the data range written by the system call. The I<offset> argument does not "
390 "affect the write operation; the data is always appended to the end of the "
391 "file. However, if the I<offset> argument is -1, the current file offset is "
392 "updated."
393 msgstr ""
394
395 #. type: TP
396 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
397 #: opensuse-leap-16-1 opensuse-tumbleweed
398 #, no-wrap
399 msgid "B<RWF_NOAPPEND> (since Linux 6.9)"
400 msgstr ""
401
402 #. type: Plain text
403 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
404 #: opensuse-leap-16-1 opensuse-tumbleweed
405 msgid ""
406 "Do not honor the B<O_APPEND> B<open>(2) flag. This flag is meaningful only "
407 "for B<pwritev2>(). Historically, Linux honored B<O_APPEND> flag if set and "
408 "ignored the offset argument, which is a bug. For B<pwritev2>(), the "
409 "I<offset> argument is honored as expected if B<RWF_NOAPPEND> flag is set, "
410 "the same as if B<O_APPEND> flag were not set."
411 msgstr ""
412
413 #. type: TP
414 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
415 #: opensuse-leap-16-1 opensuse-tumbleweed
416 #, no-wrap
417 msgid "B<RWF_ATOMIC> (since Linux 6.11)"
418 msgstr ""
419
420 #. type: Plain text
421 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
422 #: opensuse-tumbleweed
423 msgid ""
424 "Requires that writes to regular files in block-based filesystems be issued "
425 "with torn-write protection. Torn-write protection means that for a power or "
426 "any other hardware failure, all or none of the data from the write will be "
427 "stored, but never a mix of old and new data. This flag is meaningful only "
428 "for B<pwritev2>(), and its effect applies only to the data range written by "
429 "the system call. The total write length must be power-of-2 and must be "
430 "sized in the range [I<stx_atomic_write_unit_min>, "
431 "I<stx_atomic_write_unit_max>]. The write must be at a naturally-aligned "
432 "offset within the file with respect to the total write length. For example, "
433 "a write of length 32KiB at a file offset of 32KiB is permitted, however a "
434 "write of length 32KiB at a file offset of 48KiB is not permitted. The upper "
435 "limit of I<iovcnt> for B<pwritev2>() is given by the value in "
436 "I<stx_atomic_write_segments_max.> Torn-write protection only works with "
437 "B<O_DIRECT> flag, that is, buffered writes are not supported. To guarantee "
438 "consistency from the write between a file's in-core state with the storage "
439 "device, B<O_SYNC> or B<O_DSYNC> must be specified for B<open>(2). The same "
440 "synchronized I/O guarantees as described in B<open>(2) are provided when "
441 "these flags or their equivalent flags and system calls are used (e.g., if "
442 "B<RWF_SYNC> is specified for B<pwritev2>())."
443 msgstr ""
444
445 #. type: TP
446 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
447 #: opensuse-tumbleweed
448 #, no-wrap
449 msgid "B<RWF_DONTCACHE> (since Linux 6.14)"
450 msgstr ""
451
452 #. type: Plain text
453 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
454 #: opensuse-tumbleweed
455 msgid ""
456 "Reads or writes to a regular file will prune instantiated page cache content "
457 "when the operation completes. This is different than normal buffered I/O, "
458 "where the data usually remains in cache until such time that it gets "
459 "reclaimed due to memory pressure. If ranges of the read or written I/O were "
460 "already in cache before this read or write, then those ranges will not be "
461 "pruned at I/O completion time."
462 msgstr ""
463
464 #. type: Plain text
465 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
466 #: opensuse-tumbleweed
467 msgid ""
468 "Additionally, any range dirtied by a write operation with B<RWF_DONTCACHE> "
469 "set will get kicked off for writeback. This is similar to calling "
470 "B<sync_file_range>(2) with I<SYNC_FILE_RANGE_WRITE> to start writeback on "
471 "the given range. B<RWF_DONTCACHE> is a hint, or best effort, where no hard "
472 "guarantees are given on the state of the page cache once the operation "
473 "completes."
474 msgstr ""
475
476 #. type: Plain text
477 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
478 #: opensuse-tumbleweed
479 msgid ""
480 "If used on a file system or block device that doesn't support it, it will "
481 "return -1, and I<errno> will be set to B<EOPNOTSUPP>."
482 msgstr ""
483
484 #. type: SH
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 #, no-wrap
488 msgid "RETURN VALUE"
489 msgstr "VALOR DE RETORNO"
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
494 msgid ""
495 "On success, B<readv>(), B<preadv>(), and B<preadv2>() return the number of "
496 "bytes read; B<writev>(), B<pwritev>(), and B<pwritev2>() return the number "
497 "of bytes written."
498 msgstr ""
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 msgid ""
504 "Note that it is not an error for a successful call to transfer fewer bytes "
505 "than requested (see B<read>(2) and B<write>(2))."
506 msgstr ""
507
508 #. type: Plain text
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 #, fuzzy
512 #| msgid ""
513 #| "On success, zero is returned. On error, -1 is returned, and I<errno> is "
514 #| "set appropriately."
515 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
516 msgstr ""
517 "Em caso de sucesso, zero é retornado. Caso contrário, -1 é retornado, e "
518 "I<errno> é selecionado adequadamente."
519
520 #. type: SH
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 #, no-wrap
524 msgid "ERRORS"
525 msgstr "ERROS"
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 "The errors are as given for B<read>(2) and B<write>(2). Furthermore, "
532 "B<preadv>(), B<preadv2>(), B<pwritev>(), and B<pwritev2>() can also fail "
533 "for the same reasons as B<lseek>(2). Additionally, the following errors are "
534 "defined:"
535 msgstr ""
536
537 #. type: TP
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "B<EINVAL>"
542 msgstr "B<EINVAL>"
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 "The sum of the I<iov_len> values overflows an I<ssize_t> value."
548 msgstr ""
549
550 #. type: Plain text
551 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
552 #: opensuse-leap-16-1 opensuse-tumbleweed
553 msgid ""
554 "If B<RWF_ATOMIC> is specified, the combination of the sum of the I<iov_len> "
555 "values and the I<offset> value does not comply with the length and offset "
556 "torn-write protection rules."
557 msgstr ""
558
559 #. type: Plain text
560 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
561 #: opensuse-leap-16-1 opensuse-tumbleweed
562 msgid ""
563 "The vector count, I<iovcnt>, is less than zero or greater than the permitted "
564 "maximum. If B<RWF_ATOMIC> is specified, this maximum is given by the "
565 "I<stx_atomic_write_segments_max> value from I<statx.>"
566 msgstr ""
567
568 #. type: TP
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 #, no-wrap
572 msgid "B<EOPNOTSUPP>"
573 msgstr "B<EOPNOTSUPP>"
574
575 #. type: Plain text
576 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
577 #: opensuse-tumbleweed
578 msgid "B<RWF_DONTCACHE> was set in I<flags> and the file doesn't support it."
579 msgstr ""
580
581 #. type: Plain text
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 msgid "An unknown flag is specified in I<flags>."
585 msgstr ""
586
587 #. type: SH
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
590 #, no-wrap
591 msgid "VERSIONS"
592 msgstr "VERSÕES"
593
594 #. type: SS
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 #, no-wrap
598 msgid "C library/kernel differences"
599 msgstr "Diferenças entre kernel/biblioteca C"
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 "The raw B<preadv>() and B<pwritev>() system calls have call signatures "
606 "that differ slightly from that of the corresponding GNU C library wrapper "
607 "functions shown in the SYNOPSIS. The final argument, I<offset>, is unpacked "
608 "by the wrapper functions into two arguments in the system calls:"
609 msgstr ""
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 "B< unsigned long >I<pos_l>B<, unsigned long >I<pos>"
615 msgstr "B< unsigned long >I<pos_l>B<, unsigned long >I<pos>"
616
617 #. type: Plain text
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 msgid ""
621 "These arguments contain, respectively, the low order and high order 32 bits "
622 "of I<offset>."
623 msgstr ""
624
625 #. type: SH
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 #, no-wrap
629 msgid "STANDARDS"
630 msgstr "PADRÕES"
631
632 #. type: TP
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 #, fuzzy, no-wrap
636 #| msgid "B<read>(2)"
637 msgid "B<readv>()"
638 msgstr "B<read>(2)"
639
640 #. type: TQ
641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
643 #, fuzzy, no-wrap
644 #| msgid "B<write>(2)"
645 msgid "B<writev>()"
646 msgstr "B<write>(2)"
647
648 #. type: Plain text
649 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
650 #: opensuse-tumbleweed
651 msgid "POSIX.1-2024."
652 msgstr "POSIX.1-2024."
653
654 #. type: TP
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 #, fuzzy, no-wrap
658 #| msgid "B<read>(2)"
659 msgid "B<preadv>()"
660 msgstr "B<read>(2)"
661
662 #. type: TQ
663 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
664 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
665 #, fuzzy, no-wrap
666 #| msgid "B<write>(2)"
667 msgid "B<pwritev>()"
668 msgstr "B<write>(2)"
669
670 #. type: Plain text
671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
673 msgid "BSD."
674 msgstr "BSD."
675
676 #. type: TP
677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
679 #, fuzzy, no-wrap
680 #| msgid "B<read>(2)"
681 msgid "B<preadv2>()"
682 msgstr "B<read>(2)"
683
684 #. type: TQ
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 #, fuzzy, no-wrap
688 #| msgid "B<write>(2)"
689 msgid "B<pwritev2>()"
690 msgstr "B<write>(2)"
691
692 #. type: Plain text
693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
695 msgid "Linux."
696 msgstr "Linux."
697
698 #. type: SH
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 #, no-wrap
702 msgid "HISTORY"
703 msgstr "HISTÓRICO"
704
705 #. #-#-#-#-# archlinux: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
706 #. Linux libc5 used
707 #. .I size_t
708 #. as the type of the
709 #. .I iovcnt
710 #. argument,
711 #. and
712 #. .I int
713 #. as the return type.
714 #. The readv/writev system calls were buggy before Linux 1.3.40.
715 #. (Says release.libc.)
716 #. type: Plain text
717 #. #-#-#-#-# debian-trixie: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
718 #. Linux libc5 used \fIsize_t\fP as the type of the \fIiovcnt\fP argument,
719 #. and \fIint\fP as the return type.
720 #. The readv/writev system calls were buggy before Linux 1.3.40.
721 #. (Says release.libc.)
722 #. type: Plain text
723 #. #-#-#-#-# debian-unstable: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
724 #. Linux libc5 used
725 #. .I size_t
726 #. as the type of the
727 #. .I iovcnt
728 #. argument,
729 #. and
730 #. .I int
731 #. as the return type.
732 #. The readv/writev system calls were buggy before Linux 1.3.40.
733 #. (Says release.libc.)
734 #. type: Plain text
735 #. #-#-#-#-# fedora-44: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
736 #. Linux libc5 used \fIsize_t\fP as the type of the \fIiovcnt\fP argument,
737 #. and \fIint\fP as the return type.
738 #. The readv/writev system calls were buggy before Linux 1.3.40.
739 #. (Says release.libc.)
740 #. type: Plain text
741 #. #-#-#-#-# fedora-rawhide: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
742 #. Linux libc5 used \fIsize_t\fP as the type of the \fIiovcnt\fP argument,
743 #. and \fIint\fP as the return type.
744 #. The readv/writev system calls were buggy before Linux 1.3.40.
745 #. (Says release.libc.)
746 #. type: Plain text
747 #. #-#-#-#-# mageia-cauldron: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
748 #. Linux libc5 used
749 #. .I size_t
750 #. as the type of the
751 #. .I iovcnt
752 #. argument,
753 #. and
754 #. .I int
755 #. as the return type.
756 #. The readv/writev system calls were buggy before Linux 1.3.40.
757 #. (Says release.libc.)
758 #. type: Plain text
759 #. #-#-#-#-# opensuse-leap-16-1: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
760 #. Linux libc5 used
761 #. .I size_t
762 #. as the type of the
763 #. .I iovcnt
764 #. argument,
765 #. and
766 #. .I int
767 #. as the return type.
768 #. The readv/writev system calls were buggy before Linux 1.3.40.
769 #. (Says release.libc.)
770 #. type: Plain text
771 #. #-#-#-#-# opensuse-tumbleweed: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
772 #. Linux libc5 used
773 #. .I size_t
774 #. as the type of the
775 #. .I iovcnt
776 #. argument,
777 #. and
778 #. .I int
779 #. as the return type.
780 #. The readv/writev system calls were buggy before Linux 1.3.40.
781 #. (Says release.libc.)
782 #. type: Plain text
783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
785 msgid "POSIX.1-2001, 4.4BSD (first appeared in 4.2BSD)."
786 msgstr "POSIX.1-2001, 4.4BSD (apareceu pela primeira vez no 4.2BSD)."
787
788 #. type: Plain text
789 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
790 #, fuzzy
791 #| msgid "Linux 2.6.17, glibc 2.5."
792 msgid "Linux 2.6.30, glibc 2.10."
793 msgstr "Linux 2.6.17, glibc 2.5."
794
795 #. type: Plain text
796 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
797 #, fuzzy
798 #| msgid "Linux 2.6, glibc 2.3.2."
799 msgid "Linux 4.6, glibc 2.26."
800 msgstr "Linux 2.6, glibc 2.3.2."
801
802 #. type: SS
803 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
804 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
805 #, fuzzy, no-wrap
806 #| msgid "C library/kernel differences"
807 msgid "Historical C library/kernel differences"
808 msgstr "Diferenças entre kernel/biblioteca C"
809
810 #. type: Plain text
811 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
812 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
813 msgid ""
814 "To deal with the fact that B<IOV_MAX> was so low on early versions of Linux, "
815 "the glibc wrapper functions for B<readv>() and B<writev>() did some extra "
816 "work if they detected that the underlying kernel system call failed because "
817 "this limit was exceeded. In the case of B<readv>(), the wrapper function "
818 "allocated a temporary buffer large enough for all of the items specified by "
819 "I<iov>, passed that buffer in a call to B<read>(2), copied data from the "
820 "buffer to the locations specified by the I<iov_base> fields of the elements "
821 "of I<iov>, and then freed the buffer. The wrapper function for B<writev>() "
822 "performed the analogous task using a temporary buffer and a call to "
823 "B<write>(2)."
824 msgstr ""
825
826 #. type: Plain text
827 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
828 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
829 msgid ""
830 "The need for this extra effort in the glibc wrapper functions went away with "
831 "Linux 2.2 and later. However, glibc continued to provide this behavior "
832 "until glibc 2.10. Starting with glibc 2.9, the wrapper functions provide "
833 "this behavior only if the library detects that the system is running a Linux "
834 "kernel older than Linux 2.6.18 (an arbitrarily selected kernel version). "
835 "And since glibc 2.20 (which requires a minimum of Linux 2.6.32), the glibc "
836 "wrapper functions always just directly invoke the system calls."
837 msgstr ""
838
839 #. type: SH
840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
842 #, no-wrap
843 msgid "NOTES"
844 msgstr "NOTAS"
845
846 #. type: Plain text
847 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
848 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
849 msgid ""
850 "POSIX.1 allows an implementation to place a limit on the number of items "
851 "that can be passed in I<iov>. An implementation can advertise its limit by "
852 "defining B<IOV_MAX> in I<E<lt>limits.hE<gt>> or at run time via the return "
853 "value from I<sysconf(_SC_IOV_MAX)>. On modern Linux systems, the limit is "
854 "1024. Back in Linux 2.0 days, this limit was 16."
855 msgstr ""
856
857 #. type: SH
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 #, no-wrap
861 msgid "BUGS"
862 msgstr "BUGS"
863
864 #. See
865 #. <https://lore.kernel.org/linux-fsdevel/[email protected]/T/#u>
866 #. The bug was introduced in
867 #. efa8480a831 fs: RWF_NOWAIT should imply IOCB_NOIO
868 #. and fixed in
869 #. 06c0444290 mm/filemap.c: generic_file_buffered_read() now uses find_get_pages_contig
870 #. type: Plain text
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 msgid ""
874 "Linux 5.9 and Linux 5.10 have a bug where B<preadv2>() with the "
875 "B<RWF_NOWAIT> flag may return 0 even when not at end of file."
876 msgstr ""
877
878 #. type: SH
879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
881 #, no-wrap
882 msgid "EXAMPLES"
883 msgstr "EXEMPLOS"
884
885 #. type: Plain text
886 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
887 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
888 msgid "The following code sample demonstrates the use of B<writev>():"
889 msgstr ""
890
891 #. type: Plain text
892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
894 #, no-wrap
895 msgid ""
896 "char *str0 = \"hello \";\n"
897 "char *str1 = \"world\\[rs]n\";\n"
898 "ssize_t nwritten;\n"
899 "struct iovec iov[2];\n"
900 "\\&\n"
901 "iov[0].iov_base = str0;\n"
902 "iov[0].iov_len = strlen(str0);\n"
903 "iov[1].iov_base = str1;\n"
904 "iov[1].iov_len = strlen(str1);\n"
905 "\\&\n"
906 "nwritten = writev(STDOUT_FILENO, iov, 2);\n"
907 msgstr ""
908
909 #. type: SH
910 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
911 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
912 #, no-wrap
913 msgid "SEE ALSO"
914 msgstr "VEJA TAMBÉM"
915
916 #. type: Plain text
917 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
918 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
919 msgid "B<pread>(2), B<read>(2), B<write>(2)"
920 msgstr "B<pread>(2), B<read>(2), B<write>(2)"
921
922 #. type: TH
923 #: debian-trixie
924 #, no-wrap
925 msgid "2024-06-15"
926 msgstr "15 junho 2024"
927
928 #. type: TH
929 #: debian-trixie
930 #, no-wrap
931 msgid "Linux man-pages 6.9.1"
932 msgstr "Linux man-pages 6.9.1"
933
934 #. type: Plain text
935 #: debian-trixie
936 msgid "Standard C library (I<libc>, I<-lc>)"
937 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
938
939 #. type: Plain text
940 #: debian-trixie
941 msgid ""
942 "The vector count, I<iovcnt>, is less than zero or greater than the permitted "
943 "maximum."
944 msgstr ""
945
946 #. type: Plain text
947 #: debian-trixie fedora-44 fedora-rawhide
948 msgid "POSIX.1-2008."
949 msgstr "POSIX.1-2008."
950
951 #. type: Plain text
952 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
953 #, fuzzy
954 #| msgid "preadv() and pwritev()"
955 msgid "B<preadv>(), B<pwritev>(): Linux 2.6.30, glibc 2.10."
956 msgstr "preadv() e pwritev()"
957
958 #. type: Plain text
959 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
960 #, fuzzy
961 #| msgid "preadv() and pwritev()"
962 msgid "B<preadv2>(), B<pwritev2>(): Linux 4.6, glibc 2.26."
963 msgstr "preadv() e pwritev()"
964
965 #. type: TH
966 #: fedora-44 fedora-rawhide
967 #, no-wrap
968 msgid "2025-01-04"
969 msgstr "4 janeiro 2025"
970
971 #. type: TH
972 #: fedora-44 fedora-rawhide
973 #, no-wrap
974 msgid "Linux man-pages 6.13"
975 msgstr "Linux man-pages 6.13"
976
977 #. type: Plain text
978 #: fedora-44 fedora-rawhide
979 msgid ""
980 "Requires that writes to regular files in block-based filesystems be issued "
981 "with torn-write protection. Torn-write protection means that for a power or "
982 "any other hardware failure, all or none of the data from the write will be "
983 "stored, but never a mix of old and new data. This flag is meaningful only "
984 "for B<pwritev2>(), and its effect applies only to the data range written by "
985 "the system call. The total write length must be power-of-2 and must be "
986 "sized in the range [I<stx_atomic_write_unit_min>, "
987 "I<stx_atomic_write_unit_max>]. The write must be at a naturally-aligned "
988 "offset within the file with respect to the total write length. For example, "
989 "a write of length 32KiB at a file offset of 32KiB is permitted, however a "
990 "write of length 32KiB at a file offset of 48KiB is not permitted. The upper "
991 "limit of I<iovcnt> for B<pwritev2>() is given by the value in "
992 "I<stx_atomic_write_segments_max.> Torn-write protection only works with "
993 "B<O_DIRECT> flag, i.e. buffered writes are not supported. To guarantee "
994 "consistency from the write between a file's in-core state with the storage "
995 "device, B<O_SYNC> or B<O_DSYNC> must be specified for B<open>(2). The same "
996 "synchronized I/O guarantees as described in B<open>(2) are provided when "
997 "these flags or their equivalent flags and system calls are used (e.g., if "
998 "B<RWF_SYNC> is specified for B<pwritev2>())."
999 msgstr ""
1000
1001 #. type: TH
1002 #: mageia-cauldron
1003 #, no-wrap
1004 msgid "2026-02-08"
1005 msgstr "8 fevereiro 2026"
1006
1007 #. type: TH
1008 #: mageia-cauldron
1009 #, no-wrap
1010 msgid "Linux man-pages 6.17"
1011 msgstr "Linux man-pages 6.17"
1012
1013 #. type: TH
1014 #: opensuse-leap-16-1 opensuse-tumbleweed
1015 #, no-wrap
1016 msgid "Linux man-pages (unreleased)"
1017 msgstr "Linux man-pages (não lançado)"