Debian Codegraph @

po/ru/man2/write.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 # Azamat Hackimov <[email protected]>, 2016.
5 # Yuri Kozlov <[email protected]>, 2011-2015, 2017-2019.
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: 2024-12-21 19:49+0300\n"
11 "Last-Translator: Yuri Kozlov <[email protected]>\n"
12 "Language-Team: Russian <[email protected]>\n"
13 "Language: ru\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
18 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
19 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
20 "X-Generator: Lokalize 2.0\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "write"
27 msgstr "write"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8 февраля 2026 г."
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, fuzzy, no-wrap
39 #| msgid "Linux man-pages 6.17"
40 msgid "Linux man-pages 6.18"
41 msgstr "Справочные страницы Linux 6.17"
42
43 #. type: SH
44 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
45 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
46 #, no-wrap
47 msgid "NAME"
48 msgstr "НАИМЕНОВАНИЕ"
49
50 #. type: Plain text
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 msgid "write - write to a file descriptor"
54 msgstr "write - запись в файловый дескриптор"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "БИБЛИОТЕКА"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "СИНТАКСИС"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>unistd.hE<gt>>\n"
81 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
85 #: opensuse-tumbleweed
86 #, fuzzy, no-wrap
87 #| msgid "B<ssize_t write(int >I<fd>B<, const void *>I<buf>B<, size_t >I<count>B<);>\n"
88 msgid ""
89 "B<ssize_t write(>size_t count;\n"
90 "B< int >I<fd>B<, const void >I<buf>B<[>I<count>B<], size_t >I<count>B<);>\n"
91 msgstr "B<ssize_t write(int >I<fd>B<, const void *>I<buf>B<, size_t >I<count>B<);>\n"
92
93 #. type: SH
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr "ОПИСАНИЕ"
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid ""
104 "B<write>() writes up to I<count> bytes from the buffer starting at I<buf> "
105 "to the file referred to by the file descriptor I<fd>."
106 msgstr ""
107 "Вызов B<write>() пишет до I<count> байт из буфера, начиная с I<buf>, в файл, "
108 "на который ссылается файловый дескриптор I<fd>."
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 msgid ""
114 "The number of bytes written may be less than I<count> if, for example, there "
115 "is insufficient space on the underlying physical medium, or the "
116 "B<RLIMIT_FSIZE> resource limit is encountered (see B<setrlimit>(2)), or the "
117 "call was interrupted by a signal handler after having written less than "
118 "I<count> bytes. (See also B<pipe>(7).)"
119 msgstr ""
120 "Количество записанных байт может быть меньше чем I<count> если, например, "
121 "недостаточно места на физическом носителе, или исчерпан отведённый лимит "
122 "ресурса B<RLIMIT_FSIZE> (см. B<setrlimit>(2)), или вызов был прерван "
123 "обработчиком сигналов после уже записанных меньше чем I<count> байт. (См. "
124 "также B<pipe>(7).)"
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid ""
130 "For a seekable file (i.e., one to which B<lseek>(2) may be applied, for "
131 "example, a regular file) writing takes place at the file offset, and the "
132 "file offset is incremented by the number of bytes actually written. If the "
133 "file was B<open>(2)ed with B<O_APPEND>, the file offset is first set to the "
134 "end of the file before writing. The adjustment of the file offset and the "
135 "write operation are performed as an atomic step."
136 msgstr ""
137 "В случае с файлами, разрешающими позиционирование (т.е., к которым можно "
138 "применить B<lseek>(2), например, обычные файлы), запись производится по "
139 "текущему файловому смещению, а смещение файла увеличивается на реальное "
140 "число записанных байт. Если файл был открыт с помощью B<open>(2) с "
141 "аргументом B<O_APPEND>, то перед записью файловое смещение устанавливается в "
142 "конец файла. Согласование файлового смещения и операции записи выполняются "
143 "атомарно."
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "POSIX requires that a B<read>(2) that can be proved to occur after a "
150 "B<write>() has returned will return the new data. Note that not all "
151 "filesystems are POSIX conforming."
152 msgstr ""
153 "В POSIX требуется, чтобы B<read>(2), который может быть вызван сразу после "
154 "B<write>(), возвращал новые данные. Заметим, что не все файловые системы "
155 "соответствуют стандарту POSIX."
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid ""
161 "According to POSIX.1, if I<count> is greater than B<SSIZE_MAX>, the result "
162 "is implementation-defined; see NOTES for the upper limit on Linux."
163 msgstr ""
164 "В соответствие с POSIX.1, если I<count> больше B<SSIZE_MAX>, то результат "
165 "зависит от реализации; смотрите ЗАМЕЧАНИЯ по верхнему пределу в Linux."
166
167 #. type: SH
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid "RETURN VALUE"
172 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, fuzzy
178 #| msgid ""
179 #| "On success, the number of bytes written is returned. On error, -1 is "
180 #| "returned, and I<errno> is set to indicate the cause of the error."
181 msgid ""
182 "On success, the number of bytes written is returned. On error, -1 is "
183 "returned, and I<errno> is set to indicate the error."
184 msgstr ""
185 "При успешном выполнении возвращается количество записанных байт. При ошибке "
186 "возвращается -1 и I<errno> устанавливается в соответствующее значение."
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "Note that a successful B<write>() may transfer fewer than I<count> bytes. "
193 "Such partial writes can occur for various reasons; for example, because "
194 "there was insufficient space on the disk device to write all of the "
195 "requested bytes, or because a blocked B<write>() to a socket, pipe, or "
196 "similar was interrupted by a signal handler after it had transferred some, "
197 "but before it had transferred all of the requested bytes. In the event of a "
198 "partial write, the caller can make another B<write>() call to transfer the "
199 "remaining bytes. The subsequent call will either transfer further bytes or "
200 "may result in an error (e.g., if the disk is now full)."
201 msgstr ""
202 "Заметим, что при успешном выполнении B<write>() может передать меньше чем "
203 "I<count> байт. Такая частичная запись может возникать по нескольким "
204 "причинам; например, из-за недостаточного количества места на диске, на "
205 "который пишутся все запрошенные байты или из-за прерывания блокировки "
206 "B<write>() сокета, канала или подобного обработчиком сигнала после частичной "
207 "передачи, но до того, как были переданы все запрашиваемый байты. При даже "
208 "частичной записи вызывающий может запустить другой вызов B<write>() для "
209 "передачи оставшихся байт. Последующий вызов или передаст остальные байты, "
210 "или может завершиться ошибкой (например, если переполнен диск)."
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "If I<count> is zero and I<fd> refers to a regular file, then B<write>() may "
217 "return a failure status if one of the errors below is detected. If no "
218 "errors are detected, or error detection is not performed, 0 is returned "
219 "without causing any other effect. If I<count> is zero and I<fd> refers to a "
220 "file other than a regular file, the results are not specified."
221 msgstr ""
222 "Если I<count> равен нулю и I<fd> указывает на обычный файл, то B<write>() "
223 "может вернуть ошибку, если обнаружена одна из перечисленных ниже ошибок. "
224 "Если ошибок не обнаружено или проверка ошибки не производилась, то "
225 "возвращается 0 без каких-либо других последствий. Если I<count> равен нулю и "
226 "I<fd> указывает на отличный от обычного файл, то результат не определён."
227
228 #. type: SH
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "ERRORS"
233 msgstr "ОШИБКИ"
234
235 #. type: TP
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "B<EAGAIN>"
240 msgstr "B<EAGAIN>"
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "The file descriptor I<fd> refers to a file other than a socket and has been "
247 "marked nonblocking (B<O_NONBLOCK>), and the write would block. See "
248 "B<open>(2) for further details on the B<O_NONBLOCK> flag."
249 msgstr ""
250 "Файловый дескриптор I<fd> указывает на файл, не являющийся сокетом и "
251 "помеченный как неблокирующий ввод/вывод (B<O_NONBLOCK>), а запись вызовет "
252 "блокировку. См. B<open>(2) для дальнейшей информации по флагу B<O_NONBLOCK>."
253
254 #. type: TP
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "B<EAGAIN> or B<EWOULDBLOCK>"
259 msgstr "B<EAGAIN> или B<EWOULDBLOCK>"
260
261 #. Actually EAGAIN on Linux
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 msgid ""
266 "The file descriptor I<fd> refers to a socket and has been marked nonblocking "
267 "(B<O_NONBLOCK>), and the write would block. POSIX.1-2001 allows either "
268 "error to be returned for this case, and does not require these constants to "
269 "have the same value, so a portable application should check for both "
270 "possibilities."
271 msgstr ""
272 "Файловый дескриптор I<fd> указывает на сокет, который помечен как "
273 "неблокирующий ввод/вывод (B<O_NONBLOCK>), а запись вызовет блокировку. По "
274 "POSIX.1-2001 разрешено возвращать ошибку в обоих случая и не требуется, "
275 "чтобы эти константы имели одно значение, поэтому переносимые приложения "
276 "должны проверять обе причины."
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<EBADF>"
283 msgstr "B<EBADF>"
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 msgid "I<fd> is not a valid file descriptor or is not open for writing."
289 msgstr ""
290 "Значение I<fd> не является правильным файловым дескриптором или он не открыт "
291 "для записи."
292
293 #. type: TP
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "B<EDESTADDRREQ>"
298 msgstr "B<EDESTADDRREQ>"
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid ""
304 "I<fd> refers to a datagram socket for which a peer address has not been set "
305 "using B<connect>(2)."
306 msgstr ""
307 "Значение I<fd> ссылается на сокет дейтаграмм, у которого с помощью "
308 "B<connect>(2) не назначен адрес другой стороны."
309
310 #. type: TP
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "B<EDQUOT>"
315 msgstr "B<EDQUOT>"
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "The user's quota of disk blocks on the filesystem containing the file "
322 "referred to by I<fd> has been exhausted."
323 msgstr ""
324 "Исчерпана пользовательская квота на дисковые блоки файловой системы с "
325 "файлом, на который указывает I<fd>."
326
327 #. type: TP
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "B<EFAULT>"
332 msgstr "B<EFAULT>"
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid "I<buf> is outside your accessible address space."
338 msgstr "I<buf> находится за пределами доступного вам адресного пространства."
339
340 #. type: TP
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "B<EFBIG>"
345 msgstr "B<EFBIG>"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "An attempt was made to write a file that exceeds the implementation-defined "
352 "maximum file size or the process's file size limit, or to write at a "
353 "position past the maximum allowed offset."
354 msgstr ""
355 "Попытка записать в файл, который превышает заданное при реализации "
356 "ограничение на размер файла или ограничение на размер файла для текущего "
357 "процесса, или запись в позицию после максимально разрешённого смещения."
358
359 #. type: TP
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "B<EINTR>"
364 msgstr "B<EINTR>"
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid ""
370 "The call was interrupted by a signal before any data was written; see "
371 "B<signal>(7)."
372 msgstr ""
373 "Этот вызов был прерван сигналом, перед тем как были записаны какие-либо "
374 "данные; см B<signal>(7)."
375
376 #. type: TP
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, no-wrap
380 msgid "B<EINVAL>"
381 msgstr "B<EINVAL>"
382
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 "I<fd> is attached to an object which is unsuitable for writing; or the file "
388 "was opened with the B<O_DIRECT> flag, and either the address specified in "
389 "I<buf>, the value specified in I<count>, or the file offset is not suitably "
390 "aligned."
391 msgstr ""
392 "I<fd> присоединён к объекту, который не подходит для записи; или файл был "
393 "открыт с указанием флага B<O_DIRECT>, или неправильно выравнено адрес в "
394 "I<buf>, значение I<count> или файловое смещение."
395
396 #. type: TP
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "B<EIO>"
401 msgstr "B<EIO>"
402
403 #. commit 088737f44bbf6378745f5b57b035e57ee3dc4750
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid ""
408 "A low-level I/O error occurred while modifying the inode. This error may "
409 "relate to the write-back of data written by an earlier B<write>(), which may "
410 "have been issued to a different file descriptor on the same file. Since "
411 "Linux 4.13, errors from write-back come with a promise that they I<may> be "
412 "reported by subsequent. B<write>() requests, and I<will> be reported by a "
413 "subsequent B<fsync>(2) (whether or not they were also reported by "
414 "B<write>()). An alternate cause of B<EIO> on networked filesystems is when "
415 "an advisory lock had been taken out on the file descriptor and this lock has "
416 "been lost. See the I<Lost locks> section of B<fcntl>(2) for further "
417 "details."
418 msgstr ""
419 "Во время изменения иноды возникла низкоуровневая ошибка ввода/вывода. Эта "
420 "ошибка может относится к отложенным (write-back) данным предыдущего вызова "
421 "B<write>(), который выполнялся с другим файловым дескриптором для этого же "
422 "файла. Начиная с Linux 4.13 ошибки отложенных данных поступают с обещанием, "
423 "что о них I<может> быть сообщено следующему вызову. Результаты запросов "
424 "B<write>() I<будут> переданы последующему B<fsync>(2) (независимо от того, "
425 "сообщалось ли об этом B<write>()). Также B<EIO> может возникать у сетевых "
426 "файловых систем, когда консультативная блокировка была убрана у дескриптора "
427 "файла и потеряна. Подробности смотрите в абзаце I<Потерянные блокировки> в "
428 "B<fcntl>(2)."
429
430 #. type: TP
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 #, no-wrap
434 msgid "B<ENOSPC>"
435 msgstr "B<ENOSPC>"
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid ""
441 "The device containing the file referred to by I<fd> has no room for the data."
442 msgstr ""
443 "На устройстве, содержащем файл, на который ссылается I<fd>, нет свободного "
444 "места."
445
446 #. type: TP
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 #, no-wrap
450 msgid "B<EPERM>"
451 msgstr "B<EPERM>"
452
453 #. type: Plain text
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 msgid "The operation was prevented by a file seal; see B<fcntl>(2)."
457 msgstr ""
458 "Выполнение операции предотвращено опечатыванием (file seal); смотрите "
459 "B<fcntl>(2)."
460
461 #. type: TP
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 #, no-wrap
465 msgid "B<EPIPE>"
466 msgstr "B<EPIPE>"
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 msgid ""
472 "I<fd> is connected to a pipe or socket whose reading end is closed. When "
473 "this happens the writing process will also receive a B<SIGPIPE> signal. "
474 "(Thus, the write return value is seen only if the program catches, blocks or "
475 "ignores this signal.)"
476 msgstr ""
477 "I<fd> ссылается на конвейер или сокет, у которого закрыто чтение. Когда "
478 "такое случается, пишущий процесс также получит сигнал B<SIGPIPE>. (Таким "
479 "образом, возвращаемое значение можно будет увидеть только если программа "
480 "перехватывает, блокирует или игнорирует этот сигнал.)"
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 msgid "Other errors may occur, depending on the object connected to I<fd>."
486 msgstr ""
487 "В зависимости от объекта, на который указывает I<fd>, могут происходить и "
488 "другие ошибки."
489
490 #. type: SH
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid "STANDARDS"
495 msgstr "СТАНДАРТЫ"
496
497 #. type: Plain text
498 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
499 #: opensuse-tumbleweed
500 msgid "POSIX.1-2024."
501 msgstr "POSIX.1-2024."
502
503 #. type: SH
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 #, no-wrap
507 msgid "HISTORY"
508 msgstr "ИСТОРИЯ"
509
510 #. SVr4 documents additional error
511 #. conditions EDEADLK, ENOLCK, ENOLNK, ENOSR, ENXIO, or ERANGE.
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 msgid "SVr4, 4.3BSD, POSIX.1-2001."
516 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
517
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 "Under SVr4 a write may be interrupted and return B<EINTR> at any point, not "
523 "just before any data is written."
524 msgstr ""
525 "Согласно SVr4, запись может быть прервана в любом месте (с возвратом "
526 "B<EINTR>), а не только перед тем как будут записаны какие-либо данные."
527
528 #. type: SH
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "NOTES"
533 msgstr "ПРИМЕЧАНИЯ"
534
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 msgid ""
539 "A successful return from B<write>() does not make any guarantee that data "
540 "has been committed to disk. On some filesystems, including NFS, it does not "
541 "even guarantee that space has successfully been reserved for the data. In "
542 "this case, some errors might be delayed until a future B<write>(), "
543 "B<fsync>(2), or even B<close>(2). The only way to be sure is to call "
544 "B<fsync>(2) after you are done writing all your data."
545 msgstr ""
546 "Успешный возврат из вызова B<write>() не даёт никаких гарантий, что данные "
547 "сохранены на диске. В некоторых файловых системах, включая NFS, даже не "
548 "гарантируется, что для данных было зарезервировано место. В этом случае "
549 "некоторые ошибки могут появиться только в будущем B<write>(), B<fsync>(2) "
550 "или даже B<close>(2). Единственный способ получить гарантированную запись — "
551 "вызвать B<fsync>(2) после записи всех данных."
552
553 #. type: Plain text
554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
556 msgid ""
557 "If a B<write>() is interrupted by a signal handler before any bytes are "
558 "written, then the call fails with the error B<EINTR>; if it is interrupted "
559 "after at least one byte has been written, the call succeeds, and returns the "
560 "number of bytes written."
561 msgstr ""
562 "Если B<write>() прерван обработчиком сигналов до начала записи, то вызов "
563 "возвращает ошибку B<EINTR>; если он прерван после начала записи, то вызов "
564 "считается успешным, и возвращается число записанных байт."
565
566 #. commit e28cc71572da38a5a12c1cfe4d7032017adccf69
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 Linux, B<write>() (and similar system calls) will transfer at most "
572 "0x7ffff000 (2,147,479,552) bytes, returning the number of bytes actually "
573 "transferred. (This is true on both 32-bit and 64-bit systems.)"
574 msgstr ""
575 "В Linux B<write>() (и похожие системные вызовы) передаст не больше "
576 "0x7ffff000 (2 147 479 552) байт, возвращая число байт, переданных на самом "
577 "деле (это утверждение справедливо как к 32-битным, так и к 64-битным "
578 "системам)."
579
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 msgid ""
584 "An error return value while performing B<write>() using direct I/O does not "
585 "mean the entire write has failed. Partial data may be written and the data "
586 "at the file offset on which the B<write>() was attempted should be "
587 "considered inconsistent."
588 msgstr ""
589 "Возвращаемое значение ошибки при выполнении B<write>() прямого ввода-вывода "
590 "не означает ошибки записи целиком. Данные могут быть записаны частично, а по "
591 "смещению в файле, на котором B<write>() остановился, данные должны считаться "
592 "некорректными."
593
594 #. type: SH
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 #, no-wrap
598 msgid "BUGS"
599 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
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 "According to POSIX.1-2008/SUSv4 Section XSI 2.9.7 (\"Thread Interactions "
606 "with Regular File Operations\"):"
607 msgstr ""
608 "В соответствие с POSIX.1-2008/SUSv4 раздел XSI 2.9.7 (\"Thread Interactions "
609 "with Regular File Operations\"):"
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 ""
615 "All of the following functions shall be atomic with respect to each other in "
616 "the effects specified in POSIX.1-2008 when they operate on regular files or "
617 "symbolic links: ..."
618 msgstr ""
619 "Следующие функции должны выполняться атомарно по отношению друг к другу, "
620 "чтобы работать с обычными файлами или символическими ссылками так, как "
621 "указано в POSIX.1-2008: …"
622
623 #. http://thread.gmane.org/gmane.linux.kernel/1649458
624 #. From: Michael Kerrisk (man-pages <mtk.manpages <at> gmail.com>
625 #. Subject: Update of file offset on write() etc. is non-atomic with I/O
626 #. Date: 2014-02-17 15:41:37 GMT
627 #. Newsgroups: gmane.linux.kernel, gmane.linux.file-systems
628 #. commit 9c225f2655e36a470c4f58dbbc99244c5fc7f2d4
629 #. Author: Linus Torvalds <[email protected]>
630 #. Date: Mon Mar 3 09:36:58 2014 -0800
631 #. vfs: atomic f_pos accesses as per POSIX
632 #. type: Plain text
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 #, fuzzy
636 #| msgid ""
637 #| "Among the APIs subsequently listed are B<write>() and B<writev>(2). And "
638 #| "among the effects that should be atomic across threads (and processes) "
639 #| "are updates of the file offset. However, on Linux before version 3.14, "
640 #| "this was not the case: if two processes that share an open file "
641 #| "description (see B<open>(2)) perform a B<write>() (or B<writev>(2)) at "
642 #| "the same time, then the I/O operations were not atomic with respect to "
643 #| "updating the file offset, with the result that the blocks of data output "
644 #| "by the two processes might (incorrectly) overlap. This problem was fixed "
645 #| "in Linux 3.14."
646 msgid ""
647 "Among the APIs subsequently listed are B<write>() and B<writev>(2). And "
648 "among the effects that should be atomic across threads (and processes) are "
649 "updates of the file offset. However, before Linux 3.14, this was not the "
650 "case: if two processes that share an open file description (see B<open>(2)) "
651 "perform a B<write>() (or B<writev>(2)) at the same time, then the I/O "
652 "operations were not atomic with respect to updating the file offset, with "
653 "the result that the blocks of data output by the two processes might "
654 "(incorrectly) overlap. This problem was fixed in Linux 3.14."
655 msgstr ""
656 "Среди перечисленных в программном интерфейсе есть B<write>() и B<writev>(2). "
657 "И среди действий, которые должны выполняться атомарно между нитями (и "
658 "процессами), если обновление файлового смещения. Однако в Linux до версии "
659 "3.14 это было не так: если два процесса с общим открытым файловым описанием "
660 "(смотрите B<open>(2)) выполняют B<write>() (или B<writev>(2)) одновременно, "
661 "то операции ввода-вывода не атомарны при обновлении файлового смещения; в "
662 "результате записанные двумя процессами блоки данных могут (некорректно) "
663 "перекрываться. Эта ошибка исправлена в Linux 3.14."
664
665 #. type: SH
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 #, no-wrap
669 msgid "SEE ALSO"
670 msgstr "СМОТРИТЕ ТАКЖЕ"
671
672 #. type: Plain text
673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
675 msgid ""
676 "B<close>(2), B<fcntl>(2), B<fsync>(2), B<ioctl>(2), B<lseek>(2), B<open>(2), "
677 "B<pwrite>(2), B<read>(2), B<select>(2), B<writev>(2), B<fwrite>(3)"
678 msgstr ""
679 "B<close>(2), B<fcntl>(2), B<fsync>(2), B<ioctl>(2), B<lseek>(2), B<open>(2), "
680 "B<pwrite>(2), B<read>(2), B<select>(2), B<writev>(2), B<fwrite>(3)"
681
682 #. type: TH
683 #: debian-trixie
684 #, no-wrap
685 msgid "2024-05-02"
686 msgstr "2 мая 2024 г."
687
688 #. type: TH
689 #: debian-trixie
690 #, no-wrap
691 msgid "Linux man-pages 6.9.1"
692 msgstr "Страницы руководства Linux 6.9.1"
693
694 #. type: Plain text
695 #: debian-trixie
696 msgid "Standard C library (I<libc>, I<-lc>)"
697 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
698
699 #. type: Plain text
700 #: debian-trixie fedora-44 fedora-rawhide
701 #, fuzzy, no-wrap
702 #| msgid "B<ssize_t write(int >I<fd>B<, const void *>I<buf>B<, size_t >I<count>B<);>\n"
703 msgid "B<ssize_t write(int >I<fd>B<, const void >I<buf>B<[.>I<count>B<], size_t >I<count>B<);>\n"
704 msgstr "B<ssize_t write(int >I<fd>B<, const void *>I<buf>B<, size_t >I<count>B<);>\n"
705
706 #. type: Plain text
707 #: debian-trixie fedora-44 fedora-rawhide
708 msgid "POSIX.1-2008."
709 msgstr "POSIX.1-2008."
710
711 #. type: TH
712 #: fedora-44 fedora-rawhide
713 #, no-wrap
714 msgid "2024-07-23"
715 msgstr "23 июля 2024 г."
716
717 #. type: TH
718 #: fedora-44 fedora-rawhide
719 #, no-wrap
720 msgid "Linux man-pages 6.13"
721 msgstr "Страницы руководства Linux 6.13"
722
723 #. type: TH
724 #: mageia-cauldron
725 #, no-wrap
726 msgid "Linux man-pages 6.17"
727 msgstr "Страницы руководства Linux 6.17"
728
729 #. type: TH
730 #: opensuse-leap-16-1 opensuse-tumbleweed
731 #, no-wrap
732 msgid "Linux man-pages (unreleased)"
733 msgstr "Страницы руководства Linux (не выпущены)"