| 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 |
# Alexander Golubev <[email protected]>, 2018. |
| 5 |
# Azamat Hackimov <[email protected]>, 2011, 2014-2016. |
| 6 |
# Hotellook, 2014. |
| 7 |
# Nikita <[email protected]>, 2014. |
| 8 |
# Spiros Georgaras <[email protected]>, 2016. |
| 9 |
# Vladislav <[email protected]>, 2015. |
| 10 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 11 |
# Иван Павлов <[email protected]>, 2017. |
| 12 |
msgid "" |
| 13 |
msgstr "" |
| 14 |
"Project-Id-Version: manpages-l10n\n" |
| 15 |
"POT-Creation-Date: 2026-06-05 06:42+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 "sendfile" |
| 33 |
msgstr "sendfile" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 37 |
#: opensuse-tumbleweed |
| 38 |
#, no-wrap |
| 39 |
msgid "2026-02-08" |
| 40 |
msgstr "8 февраля 2026 г." |
| 41 |
|
| 42 |
#. type: TH |
| 43 |
#: archlinux debian-unstable |
| 44 |
#, fuzzy, no-wrap |
| 45 |
#| msgid "Linux man-pages 6.17" |
| 46 |
msgid "Linux man-pages 6.18" |
| 47 |
msgstr "Справочные страницы Linux 6.17" |
| 48 |
|
| 49 |
#. type: SH |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
#, no-wrap |
| 53 |
msgid "NAME" |
| 54 |
msgstr "НАИМЕНОВАНИЕ" |
| 55 |
|
| 56 |
#. type: Plain text |
| 57 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 58 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 59 |
msgid "sendfile - transfer data between file descriptors" |
| 60 |
msgstr "sendfile - производит обмен данными между дескрипторами файлов" |
| 61 |
|
| 62 |
#. type: SH |
| 63 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 64 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
#, no-wrap |
| 66 |
msgid "LIBRARY" |
| 67 |
msgstr "БИБЛИОТЕКА" |
| 68 |
|
| 69 |
#. type: Plain text |
| 70 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 71 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 72 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 73 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 74 |
|
| 75 |
#. type: SH |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
#, no-wrap |
| 79 |
msgid "SYNOPSIS" |
| 80 |
msgstr "СИНТАКСИС" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 84 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "B<#include E<lt>sys/sendfile.hE<gt>>\n" |
| 87 |
msgstr "B<#include E<lt>sys/sendfile.hE<gt>>\n" |
| 88 |
|
| 89 |
#. The below is too ugly. Comments about glibc versions belong |
| 90 |
#. in the notes, not in the header. |
| 91 |
#. .B #include <features.h> |
| 92 |
#. .B #if (__GLIBC__==2 && __GLIBC_MINOR__>=1) || __GLIBC__>2 |
| 93 |
#. .B #include <sys/sendfile.h> |
| 94 |
#. #else |
| 95 |
#. .B #include <sys/types.h> |
| 96 |
#. .B /* No system prototype before glibc 2.1. */ |
| 97 |
#. .BI "ssize_t sendfile(int" " out_fd" ", int" " in_fd" ", off_t *" #. offset ", size_t" " count" ) |
| 98 |
#. .B #endif |
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 101 |
#: opensuse-tumbleweed |
| 102 |
#, fuzzy, no-wrap |
| 103 |
#| msgid "B<ssize_t sendfile(int>I< out_fd>B<, int>I< in_fd>B<, off_t *>I<offset>B<, size_t>I< count>B<);>\n" |
| 104 |
msgid "" |
| 105 |
"B<ssize_t sendfile(int>I< out_fd>B<, int>I< in_fd>B<, off_t *_Nullable >I<offset>B<,>\n" |
| 106 |
"B< size_t >I<count>B<);>\n" |
| 107 |
msgstr "B<ssize_t sendfile(int>I< out_fd>B<, int>I< in_fd>B<, off_t *>I<offset>B<, size_t>I< count>B<);>\n" |
| 108 |
|
| 109 |
#. type: SH |
| 110 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 111 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 112 |
#, no-wrap |
| 113 |
msgid "DESCRIPTION" |
| 114 |
msgstr "ОПИСАНИЕ" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
msgid "" |
| 120 |
"B<sendfile>() copies data between one file descriptor and another. Because " |
| 121 |
"this copying is done within the kernel, B<sendfile>() is more efficient " |
| 122 |
"than the combination of B<read>(2) and B<write>(2), which would require " |
| 123 |
"transferring data to and from user space." |
| 124 |
msgstr "" |
| 125 |
"Вызов B<sendfile>() копирует данные из одного файлового дескриптора в " |
| 126 |
"другой. Так как копирование производится в ядре, использование B<sendfile>() " |
| 127 |
"более эффективно чем комбинация B<read>(2) и B<write>(2), в которой " |
| 128 |
"требуется скопировать данные в и из пользовательского пространства." |
| 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 |
"I<in_fd> should be a file descriptor opened for reading and I<out_fd> should " |
| 135 |
"be a descriptor opened for writing." |
| 136 |
msgstr "" |
| 137 |
"В I<in_fd> должен указываться файловый дескриптор, открытый для чтения, а в " |
| 138 |
"I<out_fd> должен указываться файловый дескриптор, открытый для записи." |
| 139 |
|
| 140 |
#. type: Plain text |
| 141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 143 |
msgid "" |
| 144 |
"If I<offset> is not NULL, then it points to a variable holding the file " |
| 145 |
"offset from which B<sendfile>() will start reading data from I<in_fd>. " |
| 146 |
"When B<sendfile>() returns, this variable will be set to the offset of the " |
| 147 |
"byte following the last byte that was read. If I<offset> is not NULL, then " |
| 148 |
"B<sendfile>() does not modify the file offset of I<in_fd>; otherwise the " |
| 149 |
"file offset is adjusted to reflect the number of bytes read from I<in_fd>." |
| 150 |
msgstr "" |
| 151 |
"Если значение I<offset> не равно NULL, то оно указывает на переменную, " |
| 152 |
"содержащую файловое смещение с которого B<sendfile>() начнёт чтение данных " |
| 153 |
"из I<in_fd>. При завершении B<sendfile>() значение этой переменной будет " |
| 154 |
"содержать смещение следующего байта после последнего прочитанного. Если " |
| 155 |
"значение I<offset> не равно NULL, то B<sendfile>() не изменяет файловое " |
| 156 |
"смещение I<in_fd>; иначе файловое смещение изменяется для отражения " |
| 157 |
"количества прочитанных из I<in_fd> байт." |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
msgid "" |
| 163 |
"If I<offset> is NULL, then data will be read from I<in_fd> starting at the " |
| 164 |
"file offset, and the file offset will be updated by the call." |
| 165 |
msgstr "" |
| 166 |
"Если значение I<offset> равно NULL, то данные будут прочитаны из I<in_fd> " |
| 167 |
"начиная с файлового смещения, и по окончании работы вызова файловое смещение " |
| 168 |
"будет обновлено." |
| 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 "I<count> is the number of bytes to copy between the file descriptors." |
| 174 |
msgstr "" |
| 175 |
"В I<count> содержится количество байт, копируемых между файловыми " |
| 176 |
"дескрипторами." |
| 177 |
|
| 178 |
#. commit b964bf53e540262f2d12672b3cca10842c0172e7 |
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
#, fuzzy |
| 183 |
#| msgid "" |
| 184 |
#| "The I<in_fd> argument must correspond to a file which supports B<mmap>(2)-" |
| 185 |
#| "like operations (i.e., it cannot be a socket)." |
| 186 |
msgid "" |
| 187 |
"The I<in_fd> argument must correspond to a file which supports B<mmap>(2)-" |
| 188 |
"like operations (i.e., it cannot be a socket). Except since Linux 5.12 and " |
| 189 |
"if I<out_fd> is a pipe, in which case B<sendfile>() desugars to a " |
| 190 |
"B<splice>(2) and its restrictions apply." |
| 191 |
msgstr "" |
| 192 |
"Значение I<in_fd> должно описывать файл, который поддерживает операции типа " |
| 193 |
"B<mmap>(2) (т.е., не сокет)." |
| 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 |
#, fuzzy |
| 199 |
#| msgid "" |
| 200 |
#| "In Linux kernels before 2.6.33, I<out_fd> must refer to a socket. Since " |
| 201 |
#| "Linux 2.6.33 it can be any file. If it is a regular file, then " |
| 202 |
#| "B<sendfile>() changes the file offset appropriately." |
| 203 |
msgid "" |
| 204 |
"Before Linux 2.6.33, I<out_fd> must refer to a socket. Since Linux 2.6.33 " |
| 205 |
"it can be any file. If it's seekable, then B<sendfile>() changes the file " |
| 206 |
"offset appropriately." |
| 207 |
msgstr "" |
| 208 |
"В ядрах Linux до версии 2.6.33, значение I<out_fd> должно указывать на " |
| 209 |
"сокет. Начиная с Linux 2.6.33 можно указывать любой файл. Если это обычный " |
| 210 |
"файл, то B<sendfile>() изменит файловое смещение соответствующим образом." |
| 211 |
|
| 212 |
#. type: SH |
| 213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
#, no-wrap |
| 216 |
msgid "RETURN VALUE" |
| 217 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 218 |
|
| 219 |
#. type: Plain text |
| 220 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 221 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 222 |
msgid "" |
| 223 |
"If the transfer was successful, the number of bytes written to I<out_fd> is " |
| 224 |
"returned. Note that a successful call to B<sendfile>() may write fewer " |
| 225 |
"bytes than requested; the caller should be prepared to retry the call if " |
| 226 |
"there were unsent bytes. See also NOTES." |
| 227 |
msgstr "" |
| 228 |
"Если пересылка прошла успешно, то возвращается количество записанных в " |
| 229 |
"I<out_fd> байт. Заметим, что при успешном выполнении вызов B<sendfile>() " |
| 230 |
"может записать меньше байт, чем запрашивалось; вызывающий должен быть готов " |
| 231 |
"повторить вызов, если останутся не отправленные байты. Также смотрите " |
| 232 |
"ЗАМЕЧАНИЯ." |
| 233 |
|
| 234 |
#. type: Plain text |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
msgid "On error, -1 is returned, and I<errno> is set to indicate the error." |
| 238 |
msgstr "" |
| 239 |
"В случае ошибки возвращается -1, а I<errno> устанавливается в значение " |
| 240 |
"ошибки." |
| 241 |
|
| 242 |
#. type: SH |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
#, no-wrap |
| 246 |
msgid "ERRORS" |
| 247 |
msgstr "ОШИБКИ" |
| 248 |
|
| 249 |
#. type: TP |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
#, no-wrap |
| 253 |
msgid "B<EAGAIN>" |
| 254 |
msgstr "B<EAGAIN>" |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
msgid "" |
| 260 |
"Nonblocking I/O has been selected using B<O_NONBLOCK> and the write would " |
| 261 |
"block." |
| 262 |
msgstr "" |
| 263 |
"Был выбран неблокирующий ввод-вывод с помощью B<O_NONBLOCK>, но запись " |
| 264 |
"привела бы блокировке." |
| 265 |
|
| 266 |
#. type: TP |
| 267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 269 |
#, no-wrap |
| 270 |
msgid "B<EBADF>" |
| 271 |
msgstr "B<EBADF>" |
| 272 |
|
| 273 |
#. type: Plain text |
| 274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 276 |
msgid "" |
| 277 |
"The input file was not opened for reading or the output file was not opened " |
| 278 |
"for writing." |
| 279 |
msgstr "" |
| 280 |
"Входной файл не открыт для чтения или выходной файл не открыт для записи." |
| 281 |
|
| 282 |
#. type: TP |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
#, no-wrap |
| 286 |
msgid "B<EFAULT>" |
| 287 |
msgstr "B<EFAULT>" |
| 288 |
|
| 289 |
#. type: Plain text |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
msgid "Bad address." |
| 293 |
msgstr "Неправильный адрес." |
| 294 |
|
| 295 |
#. type: TP |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
#, no-wrap |
| 299 |
msgid "B<EINVAL>" |
| 300 |
msgstr "B<EINVAL>" |
| 301 |
|
| 302 |
#. type: Plain text |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
msgid "" |
| 306 |
"Descriptor is not valid or locked, or an B<mmap>(2)-like operation is not " |
| 307 |
"available for I<in_fd>, or I<count> is negative." |
| 308 |
msgstr "" |
| 309 |
"Неправильный или заблокированный дескриптор, или для I<in_fd> недоступна " |
| 310 |
"операция типа B<mmap>(2) или значение I<count> отрицательно." |
| 311 |
|
| 312 |
#. type: Plain text |
| 313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 315 |
msgid "" |
| 316 |
"I<out_fd> has the B<O_APPEND> flag set. This is not currently supported by " |
| 317 |
"B<sendfile>()." |
| 318 |
msgstr "" |
| 319 |
"У I<out_fd> установлен флаг B<O_APPEND>. Пока это не поддерживается в " |
| 320 |
"B<sendfile>()." |
| 321 |
|
| 322 |
#. type: TP |
| 323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
#, no-wrap |
| 326 |
msgid "B<EIO>" |
| 327 |
msgstr "B<EIO>" |
| 328 |
|
| 329 |
#. type: Plain text |
| 330 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 331 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 332 |
msgid "Unspecified error while reading from I<in_fd>." |
| 333 |
msgstr "Неизвестная ошибка при чтении I<in_fd>." |
| 334 |
|
| 335 |
#. type: TP |
| 336 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 337 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 338 |
#, no-wrap |
| 339 |
msgid "B<ENOMEM>" |
| 340 |
msgstr "B<ENOMEM>" |
| 341 |
|
| 342 |
#. type: Plain text |
| 343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 345 |
msgid "Insufficient memory to read from I<in_fd>." |
| 346 |
msgstr "Не хватает памяти для чтения I<in_fd>." |
| 347 |
|
| 348 |
#. type: TP |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
#, no-wrap |
| 352 |
msgid "B<EOVERFLOW>" |
| 353 |
msgstr "B<EOVERFLOW>" |
| 354 |
|
| 355 |
#. type: Plain text |
| 356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 358 |
msgid "" |
| 359 |
"I<count> is too large, the operation would result in exceeding the maximum " |
| 360 |
"size of either the input file or the output file." |
| 361 |
msgstr "" |
| 362 |
"Значение I<count> слишком велико, операция вернула бы результат, превышающий " |
| 363 |
"максимальный размер входного или выходного файла." |
| 364 |
|
| 365 |
#. type: TP |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
#, no-wrap |
| 369 |
msgid "B<ESPIPE>" |
| 370 |
msgstr "B<ESPIPE>" |
| 371 |
|
| 372 |
#. type: Plain text |
| 373 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 374 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 375 |
#, fuzzy |
| 376 |
#| msgid "I<offset> is not NULL but the input file is not B<seek>(2)-able." |
| 377 |
msgid "I<offset> is not NULL but the input file is not seekable." |
| 378 |
msgstr "" |
| 379 |
"Значение I<offset> не равно NULL, но для входного файла не работает " |
| 380 |
"B<seek>(2)." |
| 381 |
|
| 382 |
#. type: SH |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
#, no-wrap |
| 386 |
msgid "VERSIONS" |
| 387 |
msgstr "ВЕРСИИ" |
| 388 |
|
| 389 |
#. type: Plain text |
| 390 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 391 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 392 |
msgid "" |
| 393 |
"Other UNIX systems implement B<sendfile>() with different semantics and " |
| 394 |
"prototypes. It should not be used in portable programs." |
| 395 |
msgstr "" |
| 396 |
"В других системах UNIX вызов B<sendfile>() реализован с другими семантиками " |
| 397 |
"и прототипами. Не должен использоваться в переносимых программах." |
| 398 |
|
| 399 |
#. type: SH |
| 400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 402 |
#, no-wrap |
| 403 |
msgid "STANDARDS" |
| 404 |
msgstr "СТАНДАРТЫ" |
| 405 |
|
| 406 |
#. type: Plain text |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
msgid "None." |
| 410 |
msgstr "Отсутствуют." |
| 411 |
|
| 412 |
#. type: SH |
| 413 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 414 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 415 |
#, no-wrap |
| 416 |
msgid "HISTORY" |
| 417 |
msgstr "ИСТОРИЯ" |
| 418 |
|
| 419 |
#. type: Plain text |
| 420 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 421 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 422 |
#, fuzzy |
| 423 |
#| msgid "Since glibc 2.19:" |
| 424 |
msgid "Linux 2.2, glibc 2.1." |
| 425 |
msgstr "Начиная с glibc 2.19:" |
| 426 |
|
| 427 |
#. type: Plain text |
| 428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 430 |
msgid "" |
| 431 |
"In Linux 2.4 and earlier, I<out_fd> could also refer to a regular file; this " |
| 432 |
"possibility went away in the Linux 2.6.x kernel series, but was restored in " |
| 433 |
"Linux 2.6.33." |
| 434 |
msgstr "" |
| 435 |
"В Linux 2.4 и более ранних, значение I<out_fd> может также указывать на " |
| 436 |
"обычный файл; эта возможность была удалена в ядрах Linux 2.6.x, но " |
| 437 |
"возвращена в 2.6.33." |
| 438 |
|
| 439 |
#. type: Plain text |
| 440 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 441 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 442 |
msgid "" |
| 443 |
"The original Linux B<sendfile>() system call was not designed to handle " |
| 444 |
"large file offsets. Consequently, Linux 2.4 added B<sendfile64>(), with a " |
| 445 |
"wider type for the I<offset> argument. The glibc B<sendfile>() wrapper " |
| 446 |
"function transparently deals with the kernel differences." |
| 447 |
msgstr "" |
| 448 |
"Первоначальная версия Linux B<sendfile>() не была приспособлена для работы с " |
| 449 |
"большими файловыми смещениями. В последствии в Linux 2.4 был добавлен вызов " |
| 450 |
"B<sendfile64>() с более широким диапазоном значений аргумента I<offset>. В " |
| 451 |
"glibc B<sendfile>() представляет собой обёрточную функцию, которая делает " |
| 452 |
"незаметным разницу между версиями ядер." |
| 453 |
|
| 454 |
#. type: SH |
| 455 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 456 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 457 |
#, no-wrap |
| 458 |
msgid "NOTES" |
| 459 |
msgstr "ПРИМЕЧАНИЯ" |
| 460 |
|
| 461 |
#. commit e28cc71572da38a5a12c1cfe4d7032017adccf69 |
| 462 |
#. type: Plain text |
| 463 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 464 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 465 |
msgid "" |
| 466 |
"B<sendfile>() will transfer at most 0x7ffff000 (2,147,479,552) bytes, " |
| 467 |
"returning the number of bytes actually transferred. (This is true on both " |
| 468 |
"32-bit and 64-bit systems.)" |
| 469 |
msgstr "" |
| 470 |
"Вызов B<sendfile>() передаст не больше 0x7ffff000 (2 147 479 552) байт, " |
| 471 |
"возвращая число байт, переданных на самом деле (это утверждение справедливо " |
| 472 |
"как к 32-битным, так и к 64-битным системам)." |
| 473 |
|
| 474 |
#. type: Plain text |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
msgid "" |
| 478 |
"If you plan to use B<sendfile>() for sending files to a TCP socket, but " |
| 479 |
"need to send some header data in front of the file contents, you will find " |
| 480 |
"it useful to employ the B<TCP_CORK> option, described in B<tcp>(7), to " |
| 481 |
"minimize the number of packets and to tune performance." |
| 482 |
msgstr "" |
| 483 |
"Если вы планируете использовать B<sendfile>() для отправки файлов через " |
| 484 |
"сокет TCP и вам нужно послать некоторые заголовочные данные перед содержимым " |
| 485 |
"файла, то обратите внимание на параметр B<TCP_CORK>, описанный в B<tcp>(7), " |
| 486 |
"он поможет минимизировать количество пакетов и оптимизировать " |
| 487 |
"производительность." |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
#, fuzzy |
| 493 |
#| msgid "" |
| 494 |
#| "Applications may wish to fall back to B<read>(2)/B<write>(2) in the case " |
| 495 |
#| "where B<sendfile>() fails with B<EINVAL> or B<ENOSYS>." |
| 496 |
msgid "" |
| 497 |
"Applications may wish to fall back to B<read>(2) and B<write>(2) in the " |
| 498 |
"case where B<sendfile>() fails with B<EINVAL> or B<ENOSYS>." |
| 499 |
msgstr "" |
| 500 |
"Приложение может попытаться воспользоваться B<read>(2)/B<write>(2), если " |
| 501 |
"вызов B<sendfile>() завершится с ошибкой B<EINVAL> или B<ENOSYS>." |
| 502 |
|
| 503 |
#. type: Plain text |
| 504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 506 |
msgid "" |
| 507 |
"If I<out_fd> refers to a socket or pipe with zero-copy support, callers must " |
| 508 |
"ensure the transferred portions of the file referred to by I<in_fd> remain " |
| 509 |
"unmodified until the reader on the other end of I<out_fd> has consumed the " |
| 510 |
"transferred data." |
| 511 |
msgstr "" |
| 512 |
"Если I<out_fd> ссылается на сокет или канал с поддержкой нулевого " |
| 513 |
"копирования, то вызывающие должны гарантировать, что переданные части файла, " |
| 514 |
"указываемого I<in_fd>, останутся неизменёнными до тех пор, пока читающий на " |
| 515 |
"другом конце I<out_fd> не закончит обрабатывать переданные данные." |
| 516 |
|
| 517 |
#. type: Plain text |
| 518 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 519 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 520 |
msgid "" |
| 521 |
"The Linux-specific B<splice>(2) call supports transferring data between " |
| 522 |
"arbitrary file descriptors provided one (or both) of them is a pipe." |
| 523 |
msgstr "" |
| 524 |
"Специальный вызов Linux B<splice>(2) поддерживает пересылку данных между " |
| 525 |
"произвольными файловыми дескрипторами, представляющими сокеты (один или оба)." |
| 526 |
|
| 527 |
#. type: SH |
| 528 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 529 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 530 |
#, no-wrap |
| 531 |
msgid "SEE ALSO" |
| 532 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 533 |
|
| 534 |
#. type: Plain text |
| 535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
msgid "" |
| 538 |
"B<copy_file_range>(2), B<mmap>(2), B<open>(2), B<socket>(2), B<splice>(2)" |
| 539 |
msgstr "" |
| 540 |
"B<copy_file_range>(2), B<mmap>(2), B<open>(2), B<socket>(2), B<splice>(2)" |
| 541 |
|
| 542 |
#. type: TH |
| 543 |
#: debian-trixie |
| 544 |
#, no-wrap |
| 545 |
msgid "2024-05-02" |
| 546 |
msgstr "2 мая 2024 г." |
| 547 |
|
| 548 |
#. type: TH |
| 549 |
#: debian-trixie |
| 550 |
#, no-wrap |
| 551 |
msgid "Linux man-pages 6.9.1" |
| 552 |
msgstr "Страницы руководства Linux 6.9.1" |
| 553 |
|
| 554 |
#. type: Plain text |
| 555 |
#: debian-trixie |
| 556 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 557 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 558 |
|
| 559 |
#. The below is too ugly. Comments about glibc versions belong |
| 560 |
#. in the notes, not in the header. |
| 561 |
#. .B #include <features.h> |
| 562 |
#. .B #if (__GLIBC__==2 && __GLIBC_MINOR__>=1) || __GLIBC__>2 |
| 563 |
#. .B #include <sys/sendfile.h> |
| 564 |
#. #else |
| 565 |
#. .B #include <sys/types.h> |
| 566 |
#. .B /* No system prototype before glibc 2.1. */ |
| 567 |
#. .BI "ssize_t sendfile(int" " out_fd" ", int" " in_fd" ", off_t *" #. offset ", size_t" " count" ) |
| 568 |
#. .B #endif |
| 569 |
#. type: Plain text |
| 570 |
#: debian-trixie fedora-44 fedora-rawhide |
| 571 |
#, fuzzy, no-wrap |
| 572 |
#| msgid "B<ssize_t sendfile(int>I< out_fd>B<, int>I< in_fd>B<, off_t *>I<offset>B<, size_t>I< count>B<);>\n" |
| 573 |
msgid "" |
| 574 |
"B<ssize_t sendfile(int>I< out_fd>B<, int>I< in_fd>B<, off_t *_Nullable >I<offset>B<,>\n" |
| 575 |
"B< size_t>I< count>B<);>\n" |
| 576 |
msgstr "B<ssize_t sendfile(int>I< out_fd>B<, int>I< in_fd>B<, off_t *>I<offset>B<, size_t>I< count>B<);>\n" |
| 577 |
|
| 578 |
#. type: TH |
| 579 |
#: fedora-44 fedora-rawhide |
| 580 |
#, no-wrap |
| 581 |
msgid "2024-07-23" |
| 582 |
msgstr "23 июля 2024 г." |
| 583 |
|
| 584 |
#. type: TH |
| 585 |
#: fedora-44 fedora-rawhide |
| 586 |
#, no-wrap |
| 587 |
msgid "Linux man-pages 6.13" |
| 588 |
msgstr "Страницы руководства Linux 6.13" |
| 589 |
|
| 590 |
#. type: TH |
| 591 |
#: mageia-cauldron |
| 592 |
#, no-wrap |
| 593 |
msgid "Linux man-pages 6.17" |
| 594 |
msgstr "Страницы руководства Linux 6.17" |
| 595 |
|
| 596 |
#. type: TH |
| 597 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 598 |
#, no-wrap |
| 599 |
msgid "Linux man-pages (unreleased)" |
| 600 |
msgstr "Страницы руководства Linux (не выпущены)" |