| 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]>, 2013-2014, 2017. |
| 5 |
# Dmitriy S. Seregin <[email protected]>, 2013. |
| 6 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 7 |
# Иван Павлов <[email protected]>, 2017, 2019. |
| 8 |
msgid "" |
| 9 |
msgstr "" |
| 10 |
"Project-Id-Version: manpages-l10n\n" |
| 11 |
"POT-Creation-Date: 2026-06-05 06:27+0200\n" |
| 12 |
"PO-Revision-Date: 2024-12-21 19:49+0300\n" |
| 13 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 14 |
"Language-Team: Russian <[email protected]>\n" |
| 15 |
"Language: ru\n" |
| 16 |
"MIME-Version: 1.0\n" |
| 17 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 18 |
"Content-Transfer-Encoding: 8bit\n" |
| 19 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 20 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 21 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 22 |
"X-Generator: Lokalize 2.0\n" |
| 23 |
|
| 24 |
#. type: TH |
| 25 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 26 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 27 |
#, no-wrap |
| 28 |
msgid "ioctl" |
| 29 |
msgstr "ioctl" |
| 30 |
|
| 31 |
#. type: TH |
| 32 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 33 |
#: opensuse-tumbleweed |
| 34 |
#, no-wrap |
| 35 |
msgid "2025-09-21" |
| 36 |
msgstr "21 сентября 2025 г." |
| 37 |
|
| 38 |
#. type: TH |
| 39 |
#: archlinux debian-unstable |
| 40 |
#, fuzzy, no-wrap |
| 41 |
#| msgid "Linux man-pages 6.17" |
| 42 |
msgid "Linux man-pages 6.18" |
| 43 |
msgstr "Справочные страницы Linux 6.17" |
| 44 |
|
| 45 |
#. type: SH |
| 46 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 47 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 48 |
#, no-wrap |
| 49 |
msgid "NAME" |
| 50 |
msgstr "НАИМЕНОВАНИЕ" |
| 51 |
|
| 52 |
#. type: Plain text |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
msgid "ioctl - control device" |
| 56 |
msgstr "ioctl - управляет устройством" |
| 57 |
|
| 58 |
#. type: SH |
| 59 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 60 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 61 |
#, no-wrap |
| 62 |
msgid "LIBRARY" |
| 63 |
msgstr "БИБЛИОТЕКА" |
| 64 |
|
| 65 |
#. type: Plain text |
| 66 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 67 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 69 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 70 |
|
| 71 |
#. type: SH |
| 72 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 73 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
#, no-wrap |
| 75 |
msgid "SYNOPSIS" |
| 76 |
msgstr "СИНТАКСИС" |
| 77 |
|
| 78 |
#. type: Plain text |
| 79 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 80 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 81 |
#, no-wrap |
| 82 |
msgid "B<#include E<lt>sys/ioctl.hE<gt>>\n" |
| 83 |
msgstr "B<#include E<lt>sys/ioctl.hE<gt>>\n" |
| 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 "" |
| 90 |
"B<int ioctl(int >I<fd>B<, unsigned long >I<op>B<, ...);>\\f[R] /* glibc, BSD */\\fR\n" |
| 91 |
"B<int ioctl(int >I<fd>B<, int >I<op>B<, ...);>\\f[R] /* musl, other UNIX */\\fR\n" |
| 92 |
msgstr "" |
| 93 |
|
| 94 |
#. type: SH |
| 95 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 96 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 97 |
#, no-wrap |
| 98 |
msgid "DESCRIPTION" |
| 99 |
msgstr "ОПИСАНИЕ" |
| 100 |
|
| 101 |
#. type: Plain text |
| 102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
#, fuzzy |
| 105 |
#| msgid "" |
| 106 |
#| "The B<ioctl>() system call manipulates the underlying device parameters " |
| 107 |
#| "of special files. In particular, many operating characteristics of " |
| 108 |
#| "character special files (e.g., terminals) may be controlled with " |
| 109 |
#| "B<ioctl>() requests. The argument I<fd> must be an open file descriptor." |
| 110 |
msgid "" |
| 111 |
"The B<ioctl>() system call manipulates the underlying device parameters of " |
| 112 |
"special files. In particular, many operating characteristics of character " |
| 113 |
"special files (e.g., terminals) may be controlled with B<ioctl>() " |
| 114 |
"operations. The argument I<fd> must be an open file descriptor." |
| 115 |
msgstr "" |
| 116 |
"Системный вызов B<ioctl>() изменяет параметры нижележащего устройства " |
| 117 |
"специальных файлов. В частности, через запросы B<ioctl>() можно управлять " |
| 118 |
"многими оперативными характеристиками специальных символьных файлов " |
| 119 |
"(например, терминалов). В качестве аргумента I<fd> должен быть указан " |
| 120 |
"открытый файловый дескриптор." |
| 121 |
|
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
#, fuzzy |
| 126 |
#| msgid "" |
| 127 |
#| "The second argument is a device-dependent request code. The third " |
| 128 |
#| "argument is an untyped pointer to memory. It's traditionally B<char " |
| 129 |
#| "*>I<argp> (from the days before B<void *> was valid C), and will be so " |
| 130 |
#| "named for this discussion." |
| 131 |
msgid "" |
| 132 |
"The second argument is a device-dependent operation code. The third " |
| 133 |
"argument is an untyped pointer to memory. It's traditionally B<char " |
| 134 |
"*>I<argp> (from the days before B<void *> was valid C), and will be so named " |
| 135 |
"for this discussion." |
| 136 |
msgstr "" |
| 137 |
"Второй аргумент является кодом запроса, значение которого зависит от " |
| 138 |
"устройства. Третий аргумент является нетипизированным указателем на память. " |
| 139 |
"Обычно, это B<char *>I<argp> (было до тех пор, пока в C не появился vB<void " |
| 140 |
"*>) и далее он будет называться именно так." |
| 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 |
#, fuzzy |
| 146 |
#| msgid "" |
| 147 |
#| "An B<ioctl>() I<request> has encoded in it whether the argument is an " |
| 148 |
#| "I<in> parameter or I<out> parameter, and the size of the argument I<argp> " |
| 149 |
#| "in bytes. Macros and defines used in specifying an B<ioctl>() " |
| 150 |
#| "I<request> are located in the file I<E<lt>sys/ioctl.hE<gt>>." |
| 151 |
msgid "" |
| 152 |
"An B<ioctl>() I<op> has encoded in it whether the argument is an I<in> " |
| 153 |
"parameter or I<out> parameter, and the size of the argument I<argp> in " |
| 154 |
"bytes. Macros and defines used in specifying an B<ioctl>() I<op> are " |
| 155 |
"located in the file I<E<lt>sys/ioctl.hE<gt>>. See NOTES." |
| 156 |
msgstr "" |
| 157 |
"В значении I<request> функции B<ioctl>() кодируется информация является ли " |
| 158 |
"параметр I<входным> или I<выходным> и размер аргумента I<argp> в байтах. " |
| 159 |
"Макросы и определения, используемые при указании в B<ioctl>() запросах " |
| 160 |
"I<request>, определены в файле I<E<lt>sys/ioctl.hE<gt>>." |
| 161 |
|
| 162 |
#. type: SH |
| 163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 165 |
#, no-wrap |
| 166 |
msgid "RETURN VALUE" |
| 167 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
#, fuzzy |
| 173 |
#| msgid "" |
| 174 |
#| "Usually, on success zero is returned. A few B<ioctl>() requests use the " |
| 175 |
#| "return value as an output parameter and return a nonnegative value on " |
| 176 |
#| "success. On error, -1 is returned, and I<errno> is set appropriately." |
| 177 |
msgid "" |
| 178 |
"Usually, on success zero is returned. A few B<ioctl>() operations use the " |
| 179 |
"return value as an output parameter and return a nonnegative value on " |
| 180 |
"success. On error, -1 is returned, and I<errno> is set to indicate the " |
| 181 |
"error." |
| 182 |
msgstr "" |
| 183 |
"Обычно, при успешном завершении возвращается ноль. В некоторых B<ioctl>() " |
| 184 |
"запросах возвращаемое значение считается выходным параметром и при успешном " |
| 185 |
"завершении возвращается неотрицательное значение. В случае ошибки " |
| 186 |
"возвращается -1 и значение I<errno> устанавливается соответствующим образом." |
| 187 |
|
| 188 |
#. type: SH |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
#, no-wrap |
| 192 |
msgid "ERRORS" |
| 193 |
msgstr "ОШИБКИ" |
| 194 |
|
| 195 |
#. type: TP |
| 196 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 197 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 198 |
#, no-wrap |
| 199 |
msgid "B<EBADF>" |
| 200 |
msgstr "B<EBADF>" |
| 201 |
|
| 202 |
#. type: Plain text |
| 203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 205 |
msgid "I<fd> is not a valid file descriptor." |
| 206 |
msgstr "Значение I<fd> не является правильным файловым дескриптором." |
| 207 |
|
| 208 |
#. type: TP |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
#, no-wrap |
| 212 |
msgid "B<EFAULT>" |
| 213 |
msgstr "B<EFAULT>" |
| 214 |
|
| 215 |
#. type: Plain text |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
msgid "I<argp> references an inaccessible memory area." |
| 219 |
msgstr "I<argp> ссылается на недоступную область памяти." |
| 220 |
|
| 221 |
#. type: TP |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
#, no-wrap |
| 225 |
msgid "B<EINVAL>" |
| 226 |
msgstr "B<EINVAL>" |
| 227 |
|
| 228 |
#. type: Plain text |
| 229 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 230 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 231 |
msgid "I<op> or I<argp> is not valid." |
| 232 |
msgstr "I<op> или I<argp> недопустимы." |
| 233 |
|
| 234 |
#. type: TP |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
#, no-wrap |
| 238 |
msgid "B<ENOTTY>" |
| 239 |
msgstr "B<ENOTTY>" |
| 240 |
|
| 241 |
#. type: Plain text |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
msgid "I<fd> is not associated with a character special device." |
| 245 |
msgstr "Значение I<fd> не связано со специальным символьным устройством." |
| 246 |
|
| 247 |
#. type: Plain text |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
#, fuzzy |
| 251 |
#| msgid "" |
| 252 |
#| "The specified request does not apply to the kind of object that the file " |
| 253 |
#| "descriptor I<fd> references." |
| 254 |
msgid "" |
| 255 |
"The specified operation does not apply to the kind of object that the file " |
| 256 |
"descriptor I<fd> references." |
| 257 |
msgstr "" |
| 258 |
"Указанный запрос не применяется к типу объекта, на который ссылается " |
| 259 |
"файловый дескриптор I<fd>." |
| 260 |
|
| 261 |
#. type: SH |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
#, no-wrap |
| 265 |
msgid "VERSIONS" |
| 266 |
msgstr "ВЕРСИИ" |
| 267 |
|
| 268 |
#. type: Plain text |
| 269 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 270 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 271 |
#, fuzzy |
| 272 |
#| msgid "" |
| 273 |
#| "No single standard. Arguments, returns, and semantics of B<ioctl>() " |
| 274 |
#| "vary according to the device driver in question (the call is used as a " |
| 275 |
#| "catch-all for operations that don't cleanly fit the UNIX stream I/O " |
| 276 |
#| "model)." |
| 277 |
msgid "" |
| 278 |
"Arguments, returns, and semantics of B<ioctl>() vary according to the " |
| 279 |
"device driver in question (the call is used as a catch-all for operations " |
| 280 |
"that don't cleanly fit the UNIX stream I/O model)." |
| 281 |
msgstr "" |
| 282 |
"Нет единого стандарта. Аргументы, возвращаемые значения и семантика " |
| 283 |
"B<ioctl>() варьируются в соответствии с драйвером устройства (вызов, " |
| 284 |
"используемый как всеохватывающий, не полностью соответствует потоковой " |
| 285 |
"модели ввода/вывода в UNIX)." |
| 286 |
|
| 287 |
#. type: SH |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
#, no-wrap |
| 291 |
msgid "STANDARDS" |
| 292 |
msgstr "СТАНДАРТЫ" |
| 293 |
|
| 294 |
#. type: Plain text |
| 295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 297 |
msgid "None." |
| 298 |
msgstr "Отсутствуют." |
| 299 |
|
| 300 |
#. type: SH |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
#, no-wrap |
| 304 |
msgid "HISTORY" |
| 305 |
msgstr "ИСТОРИЯ" |
| 306 |
|
| 307 |
#. type: Plain text |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
msgid "Version\\ 7 AT&T UNIX has" |
| 311 |
msgstr "" |
| 312 |
|
| 313 |
#. type: Plain text |
| 314 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 315 |
#: opensuse-tumbleweed |
| 316 |
#, fuzzy, no-wrap |
| 317 |
#| msgid "B<int ioctl(int >I<fd>B<, unsigned long >I<request>B<, ...);>\n" |
| 318 |
msgid "B<ioctl(int >I<fd>B<, int >I<op>B<, struct sgttyb *>I<argp>B<);>\n" |
| 319 |
msgstr "B<int ioctl(int >I<fd>B<, unsigned long >I<request>B<, ...);>\n" |
| 320 |
|
| 321 |
#. type: Plain text |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
msgid "" |
| 325 |
"(where B<struct sgttyb> has historically been used by B<stty>(2) and " |
| 326 |
"B<gtty>(2), and is polymorphic by operation type (like a B<void *> would be, " |
| 327 |
"if it had been available))." |
| 328 |
msgstr "" |
| 329 |
|
| 330 |
#. type: Plain text |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
msgid "SysIII documents I<arg> without a type at all." |
| 334 |
msgstr "" |
| 335 |
|
| 336 |
#. type: Plain text |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
msgid "4.3BSD has" |
| 340 |
msgstr "4.3BSD has" |
| 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 |
#, no-wrap |
| 346 |
msgid "B<ioctl(int >I<d>B<, unsigned long >I<op>B<, char *>I<argp>B<);>\n" |
| 347 |
msgstr "B<ioctl(int >I<d>B<, unsigned long >I<op>B<, char *>I<argp>B<);>\n" |
| 348 |
|
| 349 |
#. type: Plain text |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
msgid "(with B<char *> similarly in for B<void *>)." |
| 353 |
msgstr "" |
| 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 "SysVr4 has" |
| 359 |
msgstr "" |
| 360 |
|
| 361 |
#. type: Plain text |
| 362 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 363 |
#: opensuse-tumbleweed |
| 364 |
#, fuzzy, no-wrap |
| 365 |
#| msgid "B<int ioctl(int >I<fildes>B<, int >I<op>B<, ... /* >I<arg>B< */);>\n" |
| 366 |
msgid "B<int ioctl(int >I<fd>B<, int >I<op>B<, ... /* >I<arg>B< */);>\n" |
| 367 |
msgstr "B<int ioctl(int >I<fildes>B<, int >I<op>B<, ... /* >I<arg>B< */);>\n" |
| 368 |
|
| 369 |
#. type: SH |
| 370 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 371 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 372 |
#, no-wrap |
| 373 |
msgid "NOTES" |
| 374 |
msgstr "ПРИМЕЧАНИЯ" |
| 375 |
|
| 376 |
#. type: Plain text |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
msgid "" |
| 380 |
"In order to use this call, one needs an open file descriptor. Often the " |
| 381 |
"B<open>(2) call has unwanted side effects, that can be avoided under Linux " |
| 382 |
"by giving it the B<O_NONBLOCK> flag." |
| 383 |
msgstr "" |
| 384 |
"Чтобы использовать этот вызов требуется открытый файловый дескриптор. Часто " |
| 385 |
"вызов B<open>(2) приводит к нежелательным эффектам, которых в Linux можно " |
| 386 |
"избежать указав флаг B<O_NONBLOCK>." |
| 387 |
|
| 388 |
#. type: SS |
| 389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 391 |
#, no-wrap |
| 392 |
msgid "ioctl structure" |
| 393 |
msgstr "Структура ioctl" |
| 394 |
|
| 395 |
#. added two sections - aeb |
| 396 |
#. type: Plain text |
| 397 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 398 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 399 |
#, fuzzy |
| 400 |
#| msgid "" |
| 401 |
#| "Ioctl command values are 32-bit constants. In principle these constants " |
| 402 |
#| "are completely arbitrary, but people have tried to build some structure " |
| 403 |
#| "into them." |
| 404 |
msgid "" |
| 405 |
"Ioctl I<op> values are 32-bit constants. In principle these constants are " |
| 406 |
"completely arbitrary, but people have tried to build some structure into " |
| 407 |
"them." |
| 408 |
msgstr "" |
| 409 |
"Значения команд ioctl являются 32-битными константами. В принципе, эти " |
| 410 |
"константы являются полностью случайными, но некоторые люди пытаются увидеть " |
| 411 |
"в них определённую закономерность." |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
#, fuzzy |
| 417 |
#| msgid "" |
| 418 |
#| "The old Linux situation was that of mostly 16-bit constants, where the " |
| 419 |
#| "last byte is a serial number, and the preceding byte(s) give a type " |
| 420 |
#| "indicating the driver. Sometimes the major number was used: 0x03 for the " |
| 421 |
#| "B<HDIO_*> ioctls, 0x06 for the B<LP*> ioctls. And sometimes one or more " |
| 422 |
#| "ASCII letters were used. For example, B<TCGETS> has value 0x00005401, " |
| 423 |
#| "with 0x54 = \\(aqT\\(aq indicating the terminal driver, and " |
| 424 |
#| "B<CYGETTIMEOUT> has value 0x00435906, with 0x43 0x59 = \\(aqC\\(aq \\" |
| 425 |
#| "(aqY\\(aq indicating the cyclades driver." |
| 426 |
msgid "" |
| 427 |
"The old Linux situation was that of mostly 16-bit constants, where the last " |
| 428 |
"byte is a serial number, and the preceding byte(s) give a type indicating " |
| 429 |
"the driver. Sometimes the major number was used: 0x03 for the B<HDIO_*> " |
| 430 |
"ioctls, 0x06 for the B<LP*> ioctls. And sometimes one or more ASCII letters " |
| 431 |
"were used. For example, B<TCGETS> has value 0x00005401, with 0x54 = \\" |
| 432 |
"[aq]T\\[aq] indicating the terminal driver, and B<CYGETTIMEOUT> has value " |
| 433 |
"0x00435906, with 0x43 0x59 = \\[aq]C\\[aq] \\[aq]Y\\[aq] indicating the " |
| 434 |
"cyclades driver." |
| 435 |
msgstr "" |
| 436 |
"В старом Linux, в основном, были 16-битные константы, в которых последний " |
| 437 |
"байт является серийным номером, а предшествующим байт(ами) указывался " |
| 438 |
"драйвер. Иногда использовался старший номер устройства: 0x03 для ioctl " |
| 439 |
"вызовов B<HDIO_*>, 0x06 для ioctl вызовов B<LP*>. Иногда использовались одна " |
| 440 |
"или несколько букв ASCII. Например, B<TCGETS> имеет значение 0x00005401, с " |
| 441 |
"буквой 0x54 = \\(aqT\\(aq, указывающей на драйвер терминала и " |
| 442 |
"B<CYGETTIMEOUT> имеет значение 0x00435906, с буквами 0x43 0x59 = \\(aqC\\(aq " |
| 443 |
"\\(aqY\\(aq, указывающими на драйвер cyclades." |
| 444 |
|
| 445 |
#. type: Plain text |
| 446 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 447 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 448 |
msgid "" |
| 449 |
"Later (0.98p5) some more information was built into the number. One has 2 " |
| 450 |
"direction bits (00: none, 01: write, 10: read, 11: read/write) followed by " |
| 451 |
"14 size bits (giving the size of the argument), followed by an 8-bit type " |
| 452 |
"(collecting the ioctls in groups for a common purpose or a common driver), " |
| 453 |
"and an 8-bit serial number." |
| 454 |
msgstr "" |
| 455 |
"Позже (0.98p5) в номер была встроена дополнительная информация. Появилось 2 " |
| 456 |
"бита направления (00: нет, 01: запись, 10: чтение, 11: чтение/запись), за " |
| 457 |
"которыми следовали 14 бит размера (указывают размер аргумента), за которыми " |
| 458 |
"следовали 8 бит типа (собирающих вызовы ioctl в группы по назначению или " |
| 459 |
"общему драйверу) и, наконец, 8 бит серийного номера." |
| 460 |
|
| 461 |
#. type: Plain text |
| 462 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 463 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 464 |
msgid "" |
| 465 |
"The macros describing this structure live in I<E<lt>asm/ioctl.hE<gt>> and " |
| 466 |
"are B<_IO(type,nr)> and B<{_IOR,_IOW,_IOWR}(type,nr,size)>. They use " |
| 467 |
"I<sizeof(size)> so that size is a misnomer here: this third argument is a " |
| 468 |
"data type." |
| 469 |
msgstr "" |
| 470 |
"Макросы, описывающие эту структуру, расположены в I<E<lt>asm/ioctl.hE<gt>>, " |
| 471 |
"B<_IO(type,nr)> и B<{_IOR,_IOW,_IOWR}(type,nr,size)>. Они используют " |
| 472 |
"I<sizeof(size)>, так что говорить о размере здесь является неправильным \\" |
| 473 |
"(em это третий параметр типа данных." |
| 474 |
|
| 475 |
#. type: Plain text |
| 476 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 477 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 478 |
msgid "" |
| 479 |
"Note that the size bits are very unreliable: in lots of cases they are " |
| 480 |
"wrong, either because of buggy macros using I<sizeof(sizeof(struct))>, or " |
| 481 |
"because of legacy values." |
| 482 |
msgstr "" |
| 483 |
"Заметим, что биты размера очень ненадёжны: во многих случаях они ошибочны " |
| 484 |
"или потому что ошибочный макрос использует I<sizeof(sizeof(struct))> или " |
| 485 |
"потому что таковы унаследованные значение." |
| 486 |
|
| 487 |
#. type: Plain text |
| 488 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 489 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 490 |
msgid "" |
| 491 |
"Thus, it seems that the new structure only gave disadvantages: it does not " |
| 492 |
"help in checking, but it causes varying values for the various architectures." |
| 493 |
msgstr "" |
| 494 |
"Таким образом, мы видим, что новая структура имеет только недостатки: она не " |
| 495 |
"помогает в проверке, и приводит к различным значениям у разных архитектур." |
| 496 |
|
| 497 |
#. type: SH |
| 498 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 499 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
#, no-wrap |
| 501 |
msgid "SEE ALSO" |
| 502 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 503 |
|
| 504 |
#. .BR mt (4), |
| 505 |
#. type: Plain text |
| 506 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 507 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 508 |
#, fuzzy |
| 509 |
#| msgid "" |
| 510 |
#| "B<execve>(2), B<fcntl>(2), B<ioctl_console>(2), B<ioctl_fat>(2), " |
| 511 |
#| "B<ioctl_ficlone>(2), B<ioctl_ficlonerange>(2), B<ioctl_fideduperange>(2), " |
| 512 |
#| "B<ioctl_fslabel>(2), B<ioctl_getfsmap>(2), B<ioctl_iflags>(2), " |
| 513 |
#| "B<ioctl_ns>(2), B<ioctl_tty>(2), B<ioctl_userfaultfd>(2), B<open>(2), " |
| 514 |
#| "B<sd>(4), B<tty>(4)" |
| 515 |
msgid "" |
| 516 |
"B<execve>(2), B<fcntl>(2), B<ioctl_console>(2), B<ioctl_fat>(2), " |
| 517 |
"B<ioctl_fs>(2), B<ioctl_fsmap>(2), B<ioctl_nsfs>(2), B<ioctl_tty>(2), " |
| 518 |
"B<ioctl_userfaultfd>(2), B<ioctl_eventpoll>(2), B<open>(2), B<sd>(4), " |
| 519 |
"B<tty>(4)" |
| 520 |
msgstr "" |
| 521 |
"B<execve>(2), B<fcntl>(2), B<ioctl_console>(2), B<ioctl_fat>(2), " |
| 522 |
"B<ioctl_ficlone>(2), B<ioctl_ficlonerange>(2), B<ioctl_fideduperange>(2), " |
| 523 |
"B<ioctl_fslabel>(2), B<ioctl_getfsmap>(2), B<ioctl_iflags>(2), " |
| 524 |
"B<ioctl_ns>(2), B<ioctl_tty>(2), B<ioctl_userfaultfd>(2), B<open>(2), " |
| 525 |
"B<sd>(4), B<tty>(4)" |
| 526 |
|
| 527 |
#. type: TH |
| 528 |
#: debian-trixie |
| 529 |
#, no-wrap |
| 530 |
msgid "2024-06-13" |
| 531 |
msgstr "13 июня 2024 г." |
| 532 |
|
| 533 |
#. type: TH |
| 534 |
#: debian-trixie |
| 535 |
#, no-wrap |
| 536 |
msgid "Linux man-pages 6.9.1" |
| 537 |
msgstr "Страницы руководства Linux 6.9.1" |
| 538 |
|
| 539 |
#. type: Plain text |
| 540 |
#: debian-trixie |
| 541 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 542 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 543 |
|
| 544 |
#. type: Plain text |
| 545 |
#: debian-trixie fedora-44 fedora-rawhide |
| 546 |
#, fuzzy, no-wrap |
| 547 |
#| msgid "B<int ioctl(int >I<fd>B<, unsigned long >I<request>B<, ...);>\n" |
| 548 |
msgid "B<ioctl(int >I<fildes>B<, int >I<op>B<, struct sgttyb *>I<argp>B<);>\n" |
| 549 |
msgstr "B<int ioctl(int >I<fd>B<, unsigned long >I<request>B<, ...);>\n" |
| 550 |
|
| 551 |
#. type: Plain text |
| 552 |
#: debian-trixie fedora-44 fedora-rawhide |
| 553 |
#, no-wrap |
| 554 |
msgid "B<int ioctl(int >I<fildes>B<, int >I<op>B<, ... /* >I<arg>B< */);>\n" |
| 555 |
msgstr "B<int ioctl(int >I<fildes>B<, int >I<op>B<, ... /* >I<arg>B< */);>\n" |
| 556 |
|
| 557 |
#. type: TH |
| 558 |
#: fedora-44 fedora-rawhide |
| 559 |
#, no-wrap |
| 560 |
msgid "2024-07-23" |
| 561 |
msgstr "23 июля 2024 г." |
| 562 |
|
| 563 |
#. type: TH |
| 564 |
#: fedora-44 fedora-rawhide |
| 565 |
#, no-wrap |
| 566 |
msgid "Linux man-pages 6.13" |
| 567 |
msgstr "Страницы руководства Linux 6.13" |
| 568 |
|
| 569 |
#. type: TH |
| 570 |
#: mageia-cauldron |
| 571 |
#, no-wrap |
| 572 |
msgid "Linux man-pages 6.17" |
| 573 |
msgstr "Страницы руководства Linux 6.17" |
| 574 |
|
| 575 |
#. type: TH |
| 576 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 577 |
#, no-wrap |
| 578 |
msgid "Linux man-pages (unreleased)" |
| 579 |
msgstr "Страницы руководства Linux (не выпущены)" |