Debian Codegraph @

po/ru/man2/readv.2.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # aereiae <[email protected]>, 2014.
5 # Azamat Hackimov <[email protected]>, 2013-2014, 2016.
6 # Dmitriy S. Seregin <[email protected]>, 2013.
7 # Katrin Kutepova <[email protected]>, 2018.
8 # Lockal <[email protected]>, 2013.
9 # Yuri Kozlov <[email protected]>, 2011-2019.
10 # Баринов Владимир, 2016.
11 # Иван Павлов <[email protected]>, 2017,2019.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "readv"
33 msgstr "readv"
34
35 #. type: TH
36 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
37 #, no-wrap
38 msgid "2026-02-22"
39 msgstr "22 февраля 2026 г."
40
41 #. type: TH
42 #: archlinux debian-unstable
43 #, fuzzy, no-wrap
44 #| msgid "Linux man-pages 6.17"
45 msgid "Linux man-pages 6.18"
46 msgstr "Справочные страницы Linux 6.17"
47
48 #. type: SH
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 #, no-wrap
52 msgid "NAME"
53 msgstr "НАИМЕНОВАНИЕ"
54
55 #. type: Plain text
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 msgid ""
59 "readv, writev, preadv, pwritev, preadv2, pwritev2 - read or write data into "
60 "multiple buffers"
61 msgstr ""
62 "readv, writev, preadv, pwritev, preadv2, pwritev2 - читает или пишет данные "
63 "в несколько буферов"
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "LIBRARY"
70 msgstr "БИБЛИОТЕКА"
71
72 #. type: Plain text
73 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
74 #: opensuse-leap-16-1 opensuse-tumbleweed
75 msgid "Standard C library (I<libc>,\\ I<-lc>)"
76 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
77
78 #. type: SH
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "SYNOPSIS"
83 msgstr "СИНТАКСИС"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "B<#include E<lt>sys/uio.hE<gt>>\n"
90 msgstr "B<#include E<lt>sys/uio.hE<gt>>\n"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid ""
97 "B<ssize_t readv(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<);>\n"
98 "B<ssize_t writev(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<);>\n"
99 msgstr ""
100 "B<ssize_t readv(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<);>\n"
101 "B<ssize_t writev(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<);>\n"
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 #, no-wrap
107 msgid ""
108 "B<ssize_t preadv(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
109 "B< off_t >I<offset>B<);>\n"
110 "B<ssize_t pwritev(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
111 "B< off_t >I<offset>B<);>\n"
112 msgstr ""
113 "B<ssize_t preadv(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
114 "B< off_t >I<offset>B<);>\n"
115 "B<ssize_t pwritev(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
116 "B< off_t >I<offset>B<);>\n"
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 #, no-wrap
122 msgid ""
123 "B<ssize_t preadv2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
124 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
125 "B<ssize_t pwritev2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
126 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
127 msgstr ""
128 "B<ssize_t preadv2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
129 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
130 "B<ssize_t pwritev2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
131 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
138 msgstr ""
139 "Требования макроса тестирования свойств для glibc (см. "
140 "B<feature_test_macros>(7)):"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid "B<preadv>(), B<pwritev>():"
146 msgstr "B<preadv>(), B<pwritev>():"
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 #, no-wrap
152 msgid ""
153 " Since glibc 2.19:\n"
154 " _DEFAULT_SOURCE\n"
155 " glibc 2.19 and earlier:\n"
156 " _BSD_SOURCE\n"
157 msgstr ""
158 " Начиная с glibc 2.19:\n"
159 " _DEFAULT_SOURCE\n"
160 " В версии glibc 2.19 и более ранних:\n"
161 " _BSD_SOURCE\n"
162
163 #. type: SH
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 #, no-wrap
167 msgid "DESCRIPTION"
168 msgstr "ОПИСАНИЕ"
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid ""
174 "The B<readv>() system call reads I<iovcnt> buffers from the file associated "
175 "with the file descriptor I<fd> into the buffers described by I<iov> "
176 "(\"scatter input\")."
177 msgstr ""
178 "Системный вызов B<readv>() считывает I<iovcnt> буферов из файла, связанного "
179 "с файловым дескриптором I<fd>, в буферы, описываемые I<iov> («разнесённый "
180 "ввод»)."
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "The B<writev>() system call writes I<iovcnt> buffers of data described by "
187 "I<iov> to the file associated with the file descriptor I<fd> (\"gather "
188 "output\")."
189 msgstr ""
190 "Системный вызов B<writev>() записывает I<iovcnt> буферов, описанных I<iov>, "
191 "в файл, связанный с файловым дескриптором I<fd> («сборный вывод»)."
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, fuzzy
197 #| msgid ""
198 #| "The pointer I<iov> points to an array of I<iovec> structures, defined in "
199 #| "I<E<lt>sys/uio.hE<gt>> as:"
200 msgid ""
201 "The pointer I<iov> points to an array of I<iovec> structures, described in "
202 "B<iovec>(3type)."
203 msgstr ""
204 "Указатель I<iov> указывает на массив структур I<iovec> (определён в "
205 "I<E<lt>sys/uio.hE<gt>>:"
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "The B<readv>() system call works just like B<read>(2) except that multiple "
212 "buffers are filled."
213 msgstr ""
214 "Системный вызов B<readv>() работает также как B<read>(2), но считывает "
215 "несколько буферов."
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "The B<writev>() system call works just like B<write>(2) except that "
222 "multiple buffers are written out."
223 msgstr ""
224 "Системный вызов B<writev>() работает также как B<write>(2), но записывает "
225 "несколько буферов."
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "Buffers are processed in array order. This means that B<readv>() "
232 "completely fills I<iov[0]> before proceeding to I<iov[1]>, and so on. (If "
233 "there is insufficient data, then not all buffers pointed to by I<iov> may be "
234 "filled.) Similarly, B<writev>() writes out the entire contents of "
235 "I<iov[0]> before proceeding to I<iov[1]>, and so on."
236 msgstr ""
237 "Буферы выбираются в порядке, в каком они указаны в массиве. Это означает, "
238 "что B<readv>() сначала полностью заполнит I<iov[0]>, и только потом перейдёт "
239 "к I<iov[1]>, и так далее. (Если данных недостаточно, то могут быть заполнены "
240 "не все буферы, на которые указывает I<iov>.) Подобным образом B<writev>() "
241 "запишет сначала всё содержимое I<iov[0]>, затем I<iov[1]>, и так далее."
242
243 #. Regarding atomicity, see https://bugzilla.kernel.org/show_bug.cgi?id=10596
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid ""
248 "The data transfers performed by B<readv>() and B<writev>() are atomic: the "
249 "data written by B<writev>() is written as a single block that is not "
250 "intermingled with output from writes in other processes; analogously, "
251 "B<readv>() is guaranteed to read a contiguous block of data from the file, "
252 "regardless of read operations performed in other threads or processes that "
253 "have file descriptors referring to the same open file description (see "
254 "B<open>(2))."
255 msgstr ""
256 "Выполняемые вызовами B<readv>() и B<writev>() пересылки данных атомарны: "
257 "данные записываются B<writev>() единичным блоком, который не перемешивается "
258 "с выводом других процессов; аналогично, B<readv>() гарантированно считывает "
259 "непрерывный блок данных из файла, независимо от операций чтения из других "
260 "нитей или процессов, которые имеют файловые дескрипторы, ссылающиеся на это "
261 "же открытое файловое описание (см. B<open>(2))."
262
263 #. type: SS
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "preadv() and pwritev()"
268 msgstr "preadv() и pwritev()"
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 "The B<preadv>() system call combines the functionality of B<readv>() and "
275 "B<pread>(2). It performs the same task as B<readv>(), but adds a fourth "
276 "argument, I<offset>, which specifies the file offset at which the input "
277 "operation is to be performed."
278 msgstr ""
279 "В системном вызове B<preadv>() объединены возможности B<readv>() и "
280 "B<pread>(2). Он выполняет ту же задачу что и B<readv>(), но имеет четвёртый "
281 "аргумент I<offset>, задающий файловое смещение, по которому нужно выполнить "
282 "операцию чтения."
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "The B<pwritev>() system call combines the functionality of B<writev>() and "
289 "B<pwrite>(2). It performs the same task as B<writev>(), but adds a fourth "
290 "argument, I<offset>, which specifies the file offset at which the output "
291 "operation is to be performed."
292 msgstr ""
293 "В системном вызове B<pwritev>() объединены возможности B<readv>() и "
294 "B<pwrite>(2). Он выполняет ту же задачу что и B<writev>(), но имеет "
295 "четвёртый аргумент I<offset>, задающий файловое смещение, по которому нужно "
296 "выполнить операцию записи."
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid ""
302 "The file offset is not changed by these system calls. The file referred to "
303 "by I<fd> must be capable of seeking."
304 msgstr ""
305 "Файловое смещение не изменяется данными вызовами. Файл, заданный в I<fd>, "
306 "должен позволять изменение смещения."
307
308 #. type: SS
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "preadv2() and pwritev2()"
313 msgstr "preadv2() и pwritev2()"
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 msgid ""
319 "These system calls are similar to B<preadv>() and B<pwritev>() calls, but "
320 "add a fifth argument, I<flags>, which modifies the behavior on a per-call "
321 "basis."
322 msgstr ""
323 "Данные системные вызовы подобны B<preadv>() и B<pwritev>(), но имеют "
324 "дополнительный пятый аргумент I<flags>, который изменяет поведение в "
325 "зависимости от вызова."
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 "Unlike B<preadv>() and B<pwritev>(), if the I<offset> argument is -1, then "
332 "the current file offset is used and updated."
333 msgstr ""
334 "В отличие от B<preadv>() и B<pwritev>(), если аргумент I<offset> равен -1, "
335 "то текущее файловое смещение используется и обновляется."
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 msgid ""
341 "The I<flags> argument contains a bitwise OR of zero or more of the following "
342 "flags:"
343 msgstr ""
344 "Аргумент I<flags> содержит побитовое ИЛИ нуля и более следующих флагов:"
345
346 #. type: TP
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "B<RWF_DSYNC> (since Linux 4.7)"
351 msgstr "B<RWF_DSYNC> (начиная с Linux 4.7)"
352
353 #. commit e864f39569f4092c2b2bc72c773b6e486c7e3bd9
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid ""
358 "Provide a per-write equivalent of the B<O_DSYNC> B<open>(2) flag. This "
359 "flag is meaningful only for B<pwritev2>(), and its effect applies only to "
360 "the data range written by the system call."
361 msgstr ""
362 "Эквивалентен флагу B<O_DSYNC> для B<open>(2), но действующий в конкретной "
363 "операции записи. Этот флаг имеет смысл только для B<pwritev2>(), и его "
364 "действие распространяется только на диапазон данных, записываемым системным "
365 "вызовом."
366
367 #. type: TP
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "B<RWF_HIPRI> (since Linux 4.6)"
372 msgstr "B<RWF_HIPRI> (начиная с Linux 4.6)"
373
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 "High priority read/write. Allows block-based filesystems to use polling of "
379 "the device, which provides lower latency, but may use additional resources. "
380 "(Currently, this feature is usable only on a file descriptor opened using "
381 "the B<O_DIRECT> flag.)"
382 msgstr ""
383 "Высокоприоритетное чтение/запись. Позволяет в файловых системах на основе "
384 "блоков использовать опрос устройства с низкой задержкой, но с возможностью "
385 "использовать дополнительные ресурсы (в настоящий момент это свойство "
386 "работает только для файлового дескриптора, открытого с флагом B<O_DIRECT>)."
387
388 #. type: TP
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "B<RWF_SYNC> (since Linux 4.7)"
393 msgstr "B<RWF_SYNC> (начиная с Linux 4.7)"
394
395 #. commit e864f39569f4092c2b2bc72c773b6e486c7e3bd9
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid ""
400 "Provide a per-write equivalent of the B<O_SYNC> B<open>(2) flag. This flag "
401 "is meaningful only for B<pwritev2>(), and its effect applies only to the "
402 "data range written by the system call."
403 msgstr ""
404 "Эквивалентен флагу B<O_SYNC> для B<open>(2), но действующий в конкретной "
405 "операции записи. Этот флаг имеет смысл только для B<pwritev2>(), и его "
406 "действие распространяется только на диапазон данных, записываемым системным "
407 "вызовом."
408
409 #. type: TP
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 #, no-wrap
413 msgid "B<RWF_NOWAIT> (since Linux 4.14)"
414 msgstr "B<RWF_NOWAIT> (начиная с Linux 4.14)"
415
416 #. commit 3239d834847627b6634a4139cf1dc58f6f137a46
417 #. commit 91f9943e1c7b6638f27312d03fe71fcc67b23571
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, fuzzy
422 #| msgid ""
423 #| "Do not wait for data which is not immediately available. If this flag is "
424 #| "specified, the B<preadv2>() system call will return instantly if it "
425 #| "would have to read data from the backing storage or wait for a lock. If "
426 #| "some data was successfully read, it will return the number of bytes "
427 #| "read. If no bytes were read, it will return -1 and set I<errno> to "
428 #| "B<EAGAIN>. Currently, this flag is meaningful only for B<preadv2>()."
429 msgid ""
430 "Do not wait for data which is not immediately available. If this flag is "
431 "specified, the B<preadv2>() system call will return instantly if it would "
432 "have to read data from the backing storage or wait for a lock. If some data "
433 "was successfully read, it will return the number of bytes read. If no bytes "
434 "were read, it will return -1 and set I<errno> to B<EAGAIN> (but see "
435 "B<BUGS>). Currently, this flag is meaningful only for B<preadv2>()."
436 msgstr ""
437 "Не ждать данные, если пока нет. Если указан этот флаг, то системный вызов "
438 "B<preadv2>() сразу завершает работу, если бы ему пришлось читать данные из "
439 "хранилища (backing storage) или ждать блокировку. Если данные прочитаны, то "
440 "возвращается количество прочитанных байт. Если байты не прочитаны, то "
441 "возвращается -1 и I<errno> присваивается B<EAGAIN>. В настоящее время, этот "
442 "флаг учитывается только в B<preadv2>()."
443
444 #. type: TP
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid "B<RWF_APPEND> (since Linux 4.16)"
449 msgstr "B<RWF_APPEND> (начиная с Linux 4.16)"
450
451 #. commit e1fc742e14e01d84d9693c4aca4ab23da65811fb
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid ""
456 "Provide a per-write equivalent of the B<O_APPEND> B<open>(2) flag. This "
457 "flag is meaningful only for B<pwritev2>(), and its effect applies only to "
458 "the data range written by the system call. The I<offset> argument does not "
459 "affect the write operation; the data is always appended to the end of the "
460 "file. However, if the I<offset> argument is -1, the current file offset is "
461 "updated."
462 msgstr ""
463 "Предоставляет эквивалент флага B<O_APPEND> для B<open>(2) для каждой записи. "
464 "Данный флаг значим только для B<pwritev2>(), и его действие проявляется "
465 "только для диапазона данных, записанных системным вызовом. Аргумент "
466 "I<offset> не учитывается при операции записи; данные всегда добавляются в "
467 "конец файла. Однако, если аргумент I<offset> равен -1, то обновляется "
468 "текущее смещение файла."
469
470 #. type: TP
471 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
472 #: opensuse-leap-16-1 opensuse-tumbleweed
473 #, no-wrap
474 msgid "B<RWF_NOAPPEND> (since Linux 6.9)"
475 msgstr "B<RWF_NOAPPEND> (начиная с Linux 6.9)"
476
477 #. type: Plain text
478 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
479 #: opensuse-leap-16-1 opensuse-tumbleweed
480 msgid ""
481 "Do not honor the B<O_APPEND> B<open>(2) flag. This flag is meaningful only "
482 "for B<pwritev2>(). Historically, Linux honored B<O_APPEND> flag if set and "
483 "ignored the offset argument, which is a bug. For B<pwritev2>(), the "
484 "I<offset> argument is honored as expected if B<RWF_NOAPPEND> flag is set, "
485 "the same as if B<O_APPEND> flag were not set."
486 msgstr ""
487
488 #. type: TP
489 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
490 #: opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "B<RWF_ATOMIC> (since Linux 6.11)"
493 msgstr "B<RWF_ATOMIC> (начиная с Linux 6.11)"
494
495 #. type: Plain text
496 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
497 #: opensuse-tumbleweed
498 msgid ""
499 "Requires that writes to regular files in block-based filesystems be issued "
500 "with torn-write protection. Torn-write protection means that for a power or "
501 "any other hardware failure, all or none of the data from the write will be "
502 "stored, but never a mix of old and new data. This flag is meaningful only "
503 "for B<pwritev2>(), and its effect applies only to the data range written by "
504 "the system call. The total write length must be power-of-2 and must be "
505 "sized in the range [I<stx_atomic_write_unit_min>, "
506 "I<stx_atomic_write_unit_max>]. The write must be at a naturally-aligned "
507 "offset within the file with respect to the total write length. For example, "
508 "a write of length 32KiB at a file offset of 32KiB is permitted, however a "
509 "write of length 32KiB at a file offset of 48KiB is not permitted. The upper "
510 "limit of I<iovcnt> for B<pwritev2>() is given by the value in "
511 "I<stx_atomic_write_segments_max.> Torn-write protection only works with "
512 "B<O_DIRECT> flag, that is, buffered writes are not supported. To guarantee "
513 "consistency from the write between a file's in-core state with the storage "
514 "device, B<O_SYNC> or B<O_DSYNC> must be specified for B<open>(2). The same "
515 "synchronized I/O guarantees as described in B<open>(2) are provided when "
516 "these flags or their equivalent flags and system calls are used (e.g., if "
517 "B<RWF_SYNC> is specified for B<pwritev2>())."
518 msgstr ""
519
520 #. type: TP
521 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
522 #: opensuse-tumbleweed
523 #, fuzzy, no-wrap
524 #| msgid "B<RWF_ATOMIC> (since Linux 6.11)"
525 msgid "B<RWF_DONTCACHE> (since Linux 6.14)"
526 msgstr "B<RWF_ATOMIC> (начиная с Linux 6.11)"
527
528 #. type: Plain text
529 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
530 #: opensuse-tumbleweed
531 msgid ""
532 "Reads or writes to a regular file will prune instantiated page cache content "
533 "when the operation completes. This is different than normal buffered I/O, "
534 "where the data usually remains in cache until such time that it gets "
535 "reclaimed due to memory pressure. If ranges of the read or written I/O were "
536 "already in cache before this read or write, then those ranges will not be "
537 "pruned at I/O completion time."
538 msgstr ""
539
540 #. type: Plain text
541 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
542 #: opensuse-tumbleweed
543 msgid ""
544 "Additionally, any range dirtied by a write operation with B<RWF_DONTCACHE> "
545 "set will get kicked off for writeback. This is similar to calling "
546 "B<sync_file_range>(2) with I<SYNC_FILE_RANGE_WRITE> to start writeback on "
547 "the given range. B<RWF_DONTCACHE> is a hint, or best effort, where no hard "
548 "guarantees are given on the state of the page cache once the operation "
549 "completes."
550 msgstr ""
551
552 #. type: Plain text
553 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
554 #: opensuse-tumbleweed
555 msgid ""
556 "If used on a file system or block device that doesn't support it, it will "
557 "return -1, and I<errno> will be set to B<EOPNOTSUPP>."
558 msgstr ""
559
560 #. type: SH
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 #, no-wrap
564 msgid "RETURN VALUE"
565 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
566
567 #. type: Plain text
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 msgid ""
571 "On success, B<readv>(), B<preadv>(), and B<preadv2>() return the number of "
572 "bytes read; B<writev>(), B<pwritev>(), and B<pwritev2>() return the number "
573 "of bytes written."
574 msgstr ""
575 "При успешном выполнении B<readv>(), B<preadv>() и B<preadv2>() возвращается "
576 "количество считанных байт; вызовы B<writev>(), B<pwritev>() and "
577 "B<pwritev2>() возвращают количество записанных байт."
578
579 #. type: Plain text
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 msgid ""
583 "Note that it is not an error for a successful call to transfer fewer bytes "
584 "than requested (see B<read>(2) and B<write>(2))."
585 msgstr ""
586 "Заметим, что для успешного выполнения не считается ошибкой передача меньшего "
587 "количества байт чем запрошено (смотрите B<read>(2) и B<write>(2))."
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
593 msgstr ""
594 "В случае ошибки возвращается -1, а I<errno> устанавливается в значение "
595 "ошибки."
596
597 #. type: SH
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
600 #, no-wrap
601 msgid "ERRORS"
602 msgstr "ОШИБКИ"
603
604 #. type: Plain text
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 msgid ""
608 "The errors are as given for B<read>(2) and B<write>(2). Furthermore, "
609 "B<preadv>(), B<preadv2>(), B<pwritev>(), and B<pwritev2>() can also fail "
610 "for the same reasons as B<lseek>(2). Additionally, the following errors are "
611 "defined:"
612 msgstr ""
613 "Вызовы могут возвращать те же ошибки что и B<read>(2) и B<write>(2). Кроме "
614 "этого, B<preadv>(), B<preadv2>(), B<pwritev>() и B<pwritev2>() также могут "
615 "завершаться с ошибками как у B<lseek>(2). Дополнительно определены следующие "
616 "ошибки:"
617
618 #. type: TP
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 #, no-wrap
622 msgid "B<EINVAL>"
623 msgstr "B<EINVAL>"
624
625 #. type: Plain text
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 msgid "The sum of the I<iov_len> values overflows an I<ssize_t> value."
629 msgstr "Сумма значений I<iov_len> превышает значение I<ssize_t>."
630
631 #. type: Plain text
632 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
633 #: opensuse-leap-16-1 opensuse-tumbleweed
634 msgid ""
635 "If B<RWF_ATOMIC> is specified, the combination of the sum of the I<iov_len> "
636 "values and the I<offset> value does not comply with the length and offset "
637 "torn-write protection rules."
638 msgstr ""
639
640 #. type: Plain text
641 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
642 #: opensuse-leap-16-1 opensuse-tumbleweed
643 msgid ""
644 "The vector count, I<iovcnt>, is less than zero or greater than the permitted "
645 "maximum. If B<RWF_ATOMIC> is specified, this maximum is given by the "
646 "I<stx_atomic_write_segments_max> value from I<statx.>"
647 msgstr ""
648
649 #. type: TP
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 #, no-wrap
653 msgid "B<EOPNOTSUPP>"
654 msgstr "B<EOPNOTSUPP>"
655
656 #. type: Plain text
657 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
658 #: opensuse-tumbleweed
659 msgid "B<RWF_DONTCACHE> was set in I<flags> and the file doesn't support it."
660 msgstr ""
661
662 #. type: Plain text
663 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
664 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
665 msgid "An unknown flag is specified in I<flags>."
666 msgstr "В I<flags> указан неизвестный флаг."
667
668 #. type: SH
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 #, no-wrap
672 msgid "VERSIONS"
673 msgstr "ВЕРСИИ"
674
675 #. type: SS
676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
678 #, no-wrap
679 msgid "C library/kernel differences"
680 msgstr "Отличия между библиотекой C и ядром"
681
682 #. type: Plain text
683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
685 msgid ""
686 "The raw B<preadv>() and B<pwritev>() system calls have call signatures "
687 "that differ slightly from that of the corresponding GNU C library wrapper "
688 "functions shown in the SYNOPSIS. The final argument, I<offset>, is unpacked "
689 "by the wrapper functions into two arguments in the system calls:"
690 msgstr ""
691 "Объявления системных вызовов B<preadv>() и B<pwritev>() немного отличаются "
692 "от им соответствующих обёрточных функций библиотеки GNU C; они показаны в "
693 "ОБЗОРЕ. Последний аргумент, I<offset>, раскладывается обёрточными функциями "
694 "на два для системных вызовов:"
695
696 #. type: Plain text
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 msgid "B< unsigned long >I<pos_l>B<, unsigned long >I<pos>"
700 msgstr "B< unsigned long >I<pos_l>B<, unsigned long >I<pos>"
701
702 #. type: Plain text
703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
704 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
705 msgid ""
706 "These arguments contain, respectively, the low order and high order 32 bits "
707 "of I<offset>."
708 msgstr ""
709 "В этих аргументах содержатся старшая и младшая 32-битная часть I<offset>, "
710 "соответственно."
711
712 #. type: SH
713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
715 #, no-wrap
716 msgid "STANDARDS"
717 msgstr "СТАНДАРТЫ"
718
719 #. type: TP
720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
722 #, fuzzy, no-wrap
723 #| msgid "B<read>(2)"
724 msgid "B<readv>()"
725 msgstr "B<read>(2)"
726
727 #. type: TQ
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 #, fuzzy, no-wrap
731 #| msgid "B<write>(2)"
732 msgid "B<writev>()"
733 msgstr "B<write>(2)"
734
735 #. type: Plain text
736 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
737 #: opensuse-tumbleweed
738 msgid "POSIX.1-2024."
739 msgstr "POSIX.1-2024."
740
741 #. type: TP
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 #, fuzzy, no-wrap
745 #| msgid "B<read>(2)"
746 msgid "B<preadv>()"
747 msgstr "B<read>(2)"
748
749 #. type: TQ
750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
752 #, fuzzy, no-wrap
753 #| msgid "B<write>(2)"
754 msgid "B<pwritev>()"
755 msgstr "B<write>(2)"
756
757 #. type: Plain text
758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
760 msgid "BSD."
761 msgstr "BSD."
762
763 #. type: TP
764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
766 #, fuzzy, no-wrap
767 #| msgid "B<read>(2)"
768 msgid "B<preadv2>()"
769 msgstr "B<read>(2)"
770
771 #. type: TQ
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 #, fuzzy, no-wrap
775 #| msgid "B<write>(2)"
776 msgid "B<pwritev2>()"
777 msgstr "B<write>(2)"
778
779 #. type: Plain text
780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
782 msgid "Linux."
783 msgstr "Linux."
784
785 #. type: SH
786 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
787 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
788 #, no-wrap
789 msgid "HISTORY"
790 msgstr "ИСТОРИЯ"
791
792 #. #-#-#-#-# archlinux: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
793 #. Linux libc5 used
794 #. .I size_t
795 #. as the type of the
796 #. .I iovcnt
797 #. argument,
798 #. and
799 #. .I int
800 #. as the return type.
801 #. The readv/writev system calls were buggy before Linux 1.3.40.
802 #. (Says release.libc.)
803 #. type: Plain text
804 #. #-#-#-#-# debian-trixie: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
805 #. Linux libc5 used \fIsize_t\fP as the type of the \fIiovcnt\fP argument,
806 #. and \fIint\fP as the return type.
807 #. The readv/writev system calls were buggy before Linux 1.3.40.
808 #. (Says release.libc.)
809 #. type: Plain text
810 #. #-#-#-#-# debian-unstable: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
811 #. Linux libc5 used
812 #. .I size_t
813 #. as the type of the
814 #. .I iovcnt
815 #. argument,
816 #. and
817 #. .I int
818 #. as the return type.
819 #. The readv/writev system calls were buggy before Linux 1.3.40.
820 #. (Says release.libc.)
821 #. type: Plain text
822 #. #-#-#-#-# fedora-44: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
823 #. Linux libc5 used \fIsize_t\fP as the type of the \fIiovcnt\fP argument,
824 #. and \fIint\fP as the return type.
825 #. The readv/writev system calls were buggy before Linux 1.3.40.
826 #. (Says release.libc.)
827 #. type: Plain text
828 #. #-#-#-#-# fedora-rawhide: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
829 #. Linux libc5 used \fIsize_t\fP as the type of the \fIiovcnt\fP argument,
830 #. and \fIint\fP as the return type.
831 #. The readv/writev system calls were buggy before Linux 1.3.40.
832 #. (Says release.libc.)
833 #. type: Plain text
834 #. #-#-#-#-# mageia-cauldron: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
835 #. Linux libc5 used
836 #. .I size_t
837 #. as the type of the
838 #. .I iovcnt
839 #. argument,
840 #. and
841 #. .I int
842 #. as the return type.
843 #. The readv/writev system calls were buggy before Linux 1.3.40.
844 #. (Says release.libc.)
845 #. type: Plain text
846 #. #-#-#-#-# opensuse-leap-16-1: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
847 #. Linux libc5 used
848 #. .I size_t
849 #. as the type of the
850 #. .I iovcnt
851 #. argument,
852 #. and
853 #. .I int
854 #. as the return type.
855 #. The readv/writev system calls were buggy before Linux 1.3.40.
856 #. (Says release.libc.)
857 #. type: Plain text
858 #. #-#-#-#-# opensuse-tumbleweed: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
859 #. Linux libc5 used
860 #. .I size_t
861 #. as the type of the
862 #. .I iovcnt
863 #. argument,
864 #. and
865 #. .I int
866 #. as the return type.
867 #. The readv/writev system calls were buggy before Linux 1.3.40.
868 #. (Says release.libc.)
869 #. type: Plain text
870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
872 msgid "POSIX.1-2001, 4.4BSD (first appeared in 4.2BSD)."
873 msgstr "POSIX.1-2001, 4.4BSD (впервые появились в 4.2BSD)."
874
875 #. type: Plain text
876 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
877 #, fuzzy
878 #| msgid "Linux 2.6.22, glibc 2.8."
879 msgid "Linux 2.6.30, glibc 2.10."
880 msgstr "Linux 2.6.22, glibc 2.8."
881
882 #. type: Plain text
883 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
884 #, fuzzy
885 #| msgid "Linux 4.9, glibc 2.27."
886 msgid "Linux 4.6, glibc 2.26."
887 msgstr "Linux 4.9, glibc 2.27."
888
889 #. type: SS
890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
892 #, no-wrap
893 msgid "Historical C library/kernel differences"
894 msgstr "Исторические отличия между библиотекой C и ядром"
895
896 #. type: Plain text
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 msgid ""
900 "To deal with the fact that B<IOV_MAX> was so low on early versions of Linux, "
901 "the glibc wrapper functions for B<readv>() and B<writev>() did some extra "
902 "work if they detected that the underlying kernel system call failed because "
903 "this limit was exceeded. In the case of B<readv>(), the wrapper function "
904 "allocated a temporary buffer large enough for all of the items specified by "
905 "I<iov>, passed that buffer in a call to B<read>(2), copied data from the "
906 "buffer to the locations specified by the I<iov_base> fields of the elements "
907 "of I<iov>, and then freed the buffer. The wrapper function for B<writev>() "
908 "performed the analogous task using a temporary buffer and a call to "
909 "B<write>(2)."
910 msgstr ""
911 "Для учёта того, что значение B<IOV_MAX> было мало в старых версиях Linux, "
912 "обёрточные функции glibc B<readv>() и B<writev>() выполняют дополнительные "
913 "действия, если обнаруживается, что используемый системный вызов ядра "
914 "завершился неудачно из-за превышения этого ограничения. В случае B<readv>(), "
915 "обёрточная функция выделяет временный буфер, достаточный для всех элементов, "
916 "указанных в I<iov>, передаёт этот буфер в вызов B<read>(2), копирует данные "
917 "из буфера в места, указанные в полях I<iov_base> элемента I<iov>, а затем "
918 "освобождает буфер. Обёрточная функция B<writev>() выполняет аналогичную "
919 "задачу с помощью временного буфера и вызова B<write>(2)."
920
921 #. type: Plain text
922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
924 #, fuzzy
925 #| msgid ""
926 #| "The need for this extra effort in the glibc wrapper functions went away "
927 #| "with Linux 2.2 and later. However, glibc continued to provide this "
928 #| "behavior until version 2.10. Starting with glibc version 2.9, the "
929 #| "wrapper functions provide this behavior only if the library detects that "
930 #| "the system is running a Linux kernel older than version 2.6.18 (an "
931 #| "arbitrarily selected kernel version). And since glibc 2.20 (which "
932 #| "requires a minimum Linux kernel version of 2.6.32), the glibc wrapper "
933 #| "functions always just directly invoke the system calls."
934 msgid ""
935 "The need for this extra effort in the glibc wrapper functions went away with "
936 "Linux 2.2 and later. However, glibc continued to provide this behavior "
937 "until glibc 2.10. Starting with glibc 2.9, the wrapper functions provide "
938 "this behavior only if the library detects that the system is running a Linux "
939 "kernel older than Linux 2.6.18 (an arbitrarily selected kernel version). "
940 "And since glibc 2.20 (which requires a minimum of Linux 2.6.32), the glibc "
941 "wrapper functions always just directly invoke the system calls."
942 msgstr ""
943 "Потребность в дополнительных действиях в обёрточных функциях glibc пропала в "
944 "Linux 2.2 и новее. Однако glibc продолжала так работать до версии 2.10. "
945 "начиная с glibc 2.9, обёрточные функции так работают только, если библиотека "
946 "обнаруживает, что система работает с ядром Linux меньше 2.6.18 (произвольно "
947 "выбранная версия ядра). И начиная с glibc 2.20 (для которой требуется "
948 "минимальная версия ядра Linux 2.6.32) обёрточные функции glibc всегда просто "
949 "вызывают системные вызовы."
950
951 #. type: SH
952 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
953 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
954 #, no-wrap
955 msgid "NOTES"
956 msgstr "ПРИМЕЧАНИЯ"
957
958 #. type: Plain text
959 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
960 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
961 msgid ""
962 "POSIX.1 allows an implementation to place a limit on the number of items "
963 "that can be passed in I<iov>. An implementation can advertise its limit by "
964 "defining B<IOV_MAX> in I<E<lt>limits.hE<gt>> or at run time via the return "
965 "value from I<sysconf(_SC_IOV_MAX)>. On modern Linux systems, the limit is "
966 "1024. Back in Linux 2.0 days, this limit was 16."
967 msgstr ""
968 "Согласно POSIX1, в реализации можно устанавливать ограничение на количество "
969 "элементов, которые можно передать в I<iov>. Реализация может объявить это "
970 "ограничение в B<IOV_MAX> (в файле I<E<lt>limits.hE<gt>>) или во время "
971 "выполнения в виде возвращаемого значения I<sysconf(_SC_IOV_MAX)>. В "
972 "современных Linux данное ограничение равно 1024. В времена Linux 2.0 оно "
973 "было равно 16."
974
975 #. type: SH
976 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
977 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
978 #, no-wrap
979 msgid "BUGS"
980 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
981
982 #. See
983 #. <https://lore.kernel.org/linux-fsdevel/[email protected]/T/#u>
984 #. The bug was introduced in
985 #. efa8480a831 fs: RWF_NOWAIT should imply IOCB_NOIO
986 #. and fixed in
987 #. 06c0444290 mm/filemap.c: generic_file_buffered_read() now uses find_get_pages_contig
988 #. type: Plain text
989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
991 msgid ""
992 "Linux 5.9 and Linux 5.10 have a bug where B<preadv2>() with the "
993 "B<RWF_NOWAIT> flag may return 0 even when not at end of file."
994 msgstr ""
995
996 #. type: SH
997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
999 #, no-wrap
1000 msgid "EXAMPLES"
1001 msgstr "ПРИМЕРЫ"
1002
1003 #. type: Plain text
1004 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1005 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1006 msgid "The following code sample demonstrates the use of B<writev>():"
1007 msgstr "Следующий пример кода демонстрирует использование B<writev>():"
1008
1009 #. type: Plain text
1010 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1011 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1012 #, no-wrap
1013 msgid ""
1014 "char *str0 = \"hello \";\n"
1015 "char *str1 = \"world\\[rs]n\";\n"
1016 "ssize_t nwritten;\n"
1017 "struct iovec iov[2];\n"
1018 "\\&\n"
1019 "iov[0].iov_base = str0;\n"
1020 "iov[0].iov_len = strlen(str0);\n"
1021 "iov[1].iov_base = str1;\n"
1022 "iov[1].iov_len = strlen(str1);\n"
1023 "\\&\n"
1024 "nwritten = writev(STDOUT_FILENO, iov, 2);\n"
1025 msgstr ""
1026
1027 #. type: SH
1028 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1029 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1030 #, no-wrap
1031 msgid "SEE ALSO"
1032 msgstr "СМОТРИТЕ ТАКЖЕ"
1033
1034 #. type: Plain text
1035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1037 msgid "B<pread>(2), B<read>(2), B<write>(2)"
1038 msgstr "B<pread>(2), B<read>(2), B<write>(2)"
1039
1040 #. type: TH
1041 #: debian-trixie
1042 #, no-wrap
1043 msgid "2024-06-15"
1044 msgstr "15 июня 2024 г."
1045
1046 #. type: TH
1047 #: debian-trixie
1048 #, no-wrap
1049 msgid "Linux man-pages 6.9.1"
1050 msgstr "Страницы руководства Linux 6.9.1"
1051
1052 #. type: Plain text
1053 #: debian-trixie
1054 msgid "Standard C library (I<libc>, I<-lc>)"
1055 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
1056
1057 #. type: Plain text
1058 #: debian-trixie
1059 msgid ""
1060 "The vector count, I<iovcnt>, is less than zero or greater than the permitted "
1061 "maximum."
1062 msgstr ""
1063 "Количество векторов I<iovcnt> меньше нуля или больше разрешённого максимума."
1064
1065 #. type: Plain text
1066 #: debian-trixie fedora-44 fedora-rawhide
1067 msgid "POSIX.1-2008."
1068 msgstr "POSIX.1-2008."
1069
1070 #. type: Plain text
1071 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1072 #, fuzzy
1073 #| msgid "B<preadv>(), B<pwritev>():"
1074 msgid "B<preadv>(), B<pwritev>(): Linux 2.6.30, glibc 2.10."
1075 msgstr "B<preadv>(), B<pwritev>():"
1076
1077 #. type: Plain text
1078 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1079 #, fuzzy
1080 #| msgid "B<preadv2>(), B<pwritev2>(): nonstandard Linux extension."
1081 msgid "B<preadv2>(), B<pwritev2>(): Linux 4.6, glibc 2.26."
1082 msgstr "B<preadv2>(), B<pwritev2>(): нестандартные расширения Linux."
1083
1084 #. type: TH
1085 #: fedora-44 fedora-rawhide
1086 #, no-wrap
1087 msgid "2025-01-04"
1088 msgstr "4 января 2025 г."
1089
1090 #. type: TH
1091 #: fedora-44 fedora-rawhide
1092 #, no-wrap
1093 msgid "Linux man-pages 6.13"
1094 msgstr "Страницы руководства Linux 6.13"
1095
1096 #. type: Plain text
1097 #: fedora-44 fedora-rawhide
1098 msgid ""
1099 "Requires that writes to regular files in block-based filesystems be issued "
1100 "with torn-write protection. Torn-write protection means that for a power or "
1101 "any other hardware failure, all or none of the data from the write will be "
1102 "stored, but never a mix of old and new data. This flag is meaningful only "
1103 "for B<pwritev2>(), and its effect applies only to the data range written by "
1104 "the system call. The total write length must be power-of-2 and must be "
1105 "sized in the range [I<stx_atomic_write_unit_min>, "
1106 "I<stx_atomic_write_unit_max>]. The write must be at a naturally-aligned "
1107 "offset within the file with respect to the total write length. For example, "
1108 "a write of length 32KiB at a file offset of 32KiB is permitted, however a "
1109 "write of length 32KiB at a file offset of 48KiB is not permitted. The upper "
1110 "limit of I<iovcnt> for B<pwritev2>() is given by the value in "
1111 "I<stx_atomic_write_segments_max.> Torn-write protection only works with "
1112 "B<O_DIRECT> flag, i.e. buffered writes are not supported. To guarantee "
1113 "consistency from the write between a file's in-core state with the storage "
1114 "device, B<O_SYNC> or B<O_DSYNC> must be specified for B<open>(2). The same "
1115 "synchronized I/O guarantees as described in B<open>(2) are provided when "
1116 "these flags or their equivalent flags and system calls are used (e.g., if "
1117 "B<RWF_SYNC> is specified for B<pwritev2>())."
1118 msgstr ""
1119
1120 #. type: TH
1121 #: mageia-cauldron
1122 #, no-wrap
1123 msgid "2026-02-08"
1124 msgstr "8 февраля 2026 г."
1125
1126 #. type: TH
1127 #: mageia-cauldron
1128 #, no-wrap
1129 msgid "Linux man-pages 6.17"
1130 msgstr "Страницы руководства Linux 6.17"
1131
1132 #. type: TH
1133 #: opensuse-leap-16-1 opensuse-tumbleweed
1134 #, no-wrap
1135 msgid "Linux man-pages (unreleased)"
1136 msgstr "Страницы руководства Linux (не выпущены)"