Debian Codegraph @

po/ru/man2/_syscall.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 # Yuri Kozlov <[email protected]>, 2011-2013, 2015-2017, 2019.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
9 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
10 "Last-Translator: Yuri Kozlov <[email protected]>\n"
11 "Language-Team: Russian <[email protected]>\n"
12 "Language: ru\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
17 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
18 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "_syscall"
25 msgstr "_syscall"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-05-17"
32 msgstr "17 мая 2025 г."
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Справочные страницы Linux 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "НАИМЕНОВАНИЕ"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "_syscall - invoking a system call without library support (OBSOLETE)"
52 msgstr ""
53 "_syscall - выполняет системный вызов, который не поддерживается библиотекой "
54 "(УСТАРЕЛ)"
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 "SYNOPSIS"
61 msgstr "СИНТАКСИС"
62
63 #. type: Plain text
64 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
65 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
66 #, no-wrap
67 msgid "B<#include E<lt>linux/unistd.hE<gt>>\n"
68 msgstr "B<#include E<lt>linux/unistd.hE<gt>>\n"
69
70 #. type: Plain text
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "A _syscall macro\n"
75 msgstr "Макрос _syscall\n"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "desired system call\n"
82 msgstr "желаемый системный вызов\n"
83
84 #. type: SH
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "DESCRIPTION"
89 msgstr "ОПИСАНИЕ"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 msgid ""
95 "The important thing to know about a system call is its prototype. You need "
96 "to know how many arguments, their types, and the function return type. "
97 "There are seven macros that make the actual call into the system easier. "
98 "They have the form:"
99 msgstr ""
100 "При использовании системного вызова необходима информация о его прототипе. "
101 "Вам нужно знать количество аргументов, их типы и тип возвращаемого значения. "
102 "Есть несколько макросов, которые облегчают выполнение системных вызовов. Они "
103 "имеют вид:"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid "_syscallI<X>(I<type>,I<name>,I<type1>,I<arg1>,I<type2>,I<arg2>,...)\n"
110 msgstr "_syscallI<X>(I<type>,I<name>,I<type1>,I<arg1>,I<type2>,I<arg2>,…)\n"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid "where"
116 msgstr "где"
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 msgid ""
122 "I<X> is 0\\[en]6, which are the number of arguments taken by the system call"
123 msgstr ""
124 "I<X> это 0\\[en]6, что соответствует количеству аргументов, принимаемых "
125 "системным вызовом."
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid "I<type> is the return type of the system call"
131 msgstr "I<type> \\(em тип возвращаемого значения системного вызова"
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 "I<name> is the name of the system call"
137 msgstr "I<name> \\(em имя системного вызова"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid "I<typeN> is the Nth argument's type"
143 msgstr "I<typeN> \\(em тип N-го аргумента"
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 "I<argN> is the name of the Nth argument"
149 msgstr "I<argN> \\(em имя N-го аргумента"
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "These macros create a function called I<name> with the arguments you "
156 "specify. Once you include the _syscall() in your source file, you call the "
157 "system call by I<name>."
158 msgstr ""
159 "Эти макросы создают функцию с именем I<name> и указанными аргументами. После "
160 "добавления _syscall() в код, вы можете вызывать системный вызов по имени "
161 "I<name>."
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 "FILES"
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 "I</usr/include/linux/unistd.h>"
174 msgstr "I</usr/include/linux/unistd.h>"
175
176 #. type: SH
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "STANDARDS"
181 msgstr "СТАНДАРТЫ"
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid "Linux."
187 msgstr "Linux."
188
189 #. type: SH
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "HISTORY"
194 msgstr "ИСТОРИЯ"
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "Starting around Linux 2.6.18, the _syscall macros were removed from header "
201 "files supplied to user space. Use B<syscall>(2) instead. (Some "
202 "architectures, notably ia64, never provided the _syscall macros; on those "
203 "architectures, B<syscall>(2) was always required.)"
204 msgstr ""
205 "Начиная примерно с Linux 2.6.18, макросы _syscall были удалены из "
206 "заголовочных файлов, предоставляемых пространству пользователя. Используйте "
207 "B<syscall>(2) вместо них. (Некоторые архитектуры, в частности ia64, никогда "
208 "не предоставляли макросы _syscall; на этих архитектурах всегда требовалось "
209 "использовать B<syscall>(2).)"
210
211 #. type: SH
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "NOTES"
216 msgstr "ПРИМЕЧАНИЯ"
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "The _syscall() macros I<do not> produce a prototype. You may have to create "
223 "one, especially for C++ users."
224 msgstr ""
225 "Макрос _syscall() I<не> создаёт прототип. Вам, вероятно, придётся создавать "
226 "его самостоятельно, особенно пользователям C++."
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 ""
232 "System calls are not required to return only positive or negative error "
233 "codes. You need to read the source to be sure how it will return errors. "
234 "Usually, it is the negative of a standard error code, for example, "
235 "-I<EPERM>. The _syscall() macros will return the result I<r> of the system "
236 "call when I<r> is nonnegative, but will return -1 and set the variable "
237 "I<errno> to -I<r> when I<r> is negative. For the error codes, see "
238 "B<errno>(3)."
239 msgstr ""
240 "Для системных вызовов не требуется возвращать только положительный или "
241 "отрицательный код ошибки. Вам нужно прочитать исходный код, чтобы выяснить "
242 "как возвращаются ошибки. Обычно, это отрицательный стандартный код ошибки, "
243 "например, -I<EPERM>. Макрос _syscall() возвращает результат I<r> из "
244 "системного вызова, если I<r> неотрицательно, но вернёт -1 и установит "
245 "значение I<errno> равное -I<r>, когда I<r> отрицательно. Коды ошибок "
246 "смотрите в B<errno>(3)."
247
248 #. The preferred way to invoke system calls that glibc does not know
249 #. about yet is via
250 #. .BR syscall (2).
251 #. However, this mechanism can be used only if using a libc
252 #. (such as glibc) that supports
253 #. .BR syscall (2),
254 #. and if the
255 #. .I <sys/syscall.h>
256 #. header file contains the required SYS_foo definition.
257 #. Otherwise, the use of a _syscall macro is required.
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 msgid ""
262 "When defining a system call, the argument types I<must> be passed by-value "
263 "or by-pointer (for aggregates like structs)."
264 msgstr ""
265 "При определении системного вызова типы аргументов I<должны> передаваться по "
266 "значению или по ссылке (для составных типов, например структур)."
267
268 #. type: SH
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "EXAMPLES"
273 msgstr "ПРИМЕРЫ"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid ""
280 "#include E<lt>stdio.hE<gt>\n"
281 "#include E<lt>stdlib.hE<gt>\n"
282 "#include E<lt>errno.hE<gt>\n"
283 "#include E<lt>linux/unistd.hE<gt> /* for _syscallX macros/related stuff */\n"
284 "#include E<lt>linux/kernel.hE<gt> /* for struct sysinfo */\n"
285 "\\&\n"
286 "_syscall1(int, sysinfo, struct sysinfo *, info);\n"
287 "\\&\n"
288 "int\n"
289 "main(void)\n"
290 "{\n"
291 " struct sysinfo s_info;\n"
292 " int error;\n"
293 "\\&\n"
294 " error = sysinfo(&s_info);\n"
295 " printf(\"code error = %d\\[rs]n\", error);\n"
296 " printf(\"Uptime = %lds\\[rs]nLoad: 1 min %lu / 5 min %lu / 15 min %lu\\[rs]n\"\n"
297 " \"RAM: total %lu / free %lu / shared %lu\\[rs]n\"\n"
298 " \"Memory in buffers = %lu\\[rs]nSwap: total %lu / free %lu\\[rs]n\"\n"
299 " \"Number of processes = %d\\[rs]n\",\n"
300 " s_info.uptime, s_info.loads[0],\n"
301 " s_info.loads[1], s_info.loads[2],\n"
302 " s_info.totalram, s_info.freeram,\n"
303 " s_info.sharedram, s_info.bufferram,\n"
304 " s_info.totalswap, s_info.freeswap,\n"
305 " s_info.procs);\n"
306 " exit(EXIT_SUCCESS);\n"
307 "}\n"
308 msgstr ""
309 "#include E<lt>stdio.hE<gt>\n"
310 "#include E<lt>stdlib.hE<gt>\n"
311 "#include E<lt>errno.hE<gt>\n"
312 "#include E<lt>linux/unistd.hE<gt> /* for _syscallX macros/related stuff */\n"
313 "#include E<lt>linux/kernel.hE<gt> /* for struct sysinfo */\n"
314 "\\&\n"
315 "_syscall1(int, sysinfo, struct sysinfo *, info);\n"
316 "\\&\n"
317 "int\n"
318 "main(void)\n"
319 "{\n"
320 " struct sysinfo s_info;\n"
321 " int error;\n"
322 "\\&\n"
323 " error = sysinfo(&s_info);\n"
324 " printf(\"code error = %d\\[rs]n\", error);\n"
325 " printf(\"Uptime = %lds\\[rs]nLoad: 1 min %lu / 5 min %lu / 15 min %lu\\[rs]n\"\n"
326 " \"RAM: total %lu / free %lu / shared %lu\\[rs]n\"\n"
327 " \"Memory in buffers = %lu\\[rs]nSwap: total %lu / free %lu\\[rs]n\"\n"
328 " \"Number of processes = %d\\[rs]n\",\n"
329 " s_info.uptime, s_info.loads[0],\n"
330 " s_info.loads[1], s_info.loads[2],\n"
331 " s_info.totalram, s_info.freeram,\n"
332 " s_info.sharedram, s_info.bufferram,\n"
333 " s_info.totalswap, s_info.freeswap,\n"
334 " s_info.procs);\n"
335 " exit(EXIT_SUCCESS);\n"
336 "}\n"
337
338 #. SRC END
339 #. type: SS
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "Sample output"
344 msgstr "Результат работы примера"
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid ""
351 "code error = 0\n"
352 "uptime = 502034s\n"
353 "Load: 1 min 13376 / 5 min 5504 / 15 min 1152\n"
354 "RAM: total 15343616 / free 827392 / shared 8237056\n"
355 "Memory in buffers = 5066752\n"
356 "Swap: total 27881472 / free 24698880\n"
357 "Number of processes = 40\n"
358 msgstr ""
359 "code error = 0\n"
360 "uptime = 502034s\n"
361 "Load: 1 min 13376 / 5 min 5504 / 15 min 1152\n"
362 "RAM: total 15343616 / free 827392 / shared 8237056\n"
363 "Memory in buffers = 5066752\n"
364 "Swap: total 27881472 / free 24698880\n"
365 "Number of processes = 40\n"
366
367 #. type: SH
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "SEE ALSO"
372 msgstr "СМОТРИТЕ ТАКЖЕ"
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 "B<intro>(2), B<syscall>(2), B<errno>(3)"
378 msgstr "B<intro>(2), B<syscall>(2), B<errno>(3)"
379
380 #. type: TH
381 #: debian-trixie fedora-44 fedora-rawhide
382 #, no-wrap
383 msgid "2024-06-15"
384 msgstr "15 июня 2024 г."
385
386 #. type: TH
387 #: debian-trixie
388 #, no-wrap
389 msgid "Linux man-pages 6.9.1"
390 msgstr "Страницы руководства Linux 6.9.1"
391
392 #. type: TH
393 #: fedora-44 fedora-rawhide
394 #, no-wrap
395 msgid "Linux man-pages 6.13"
396 msgstr "Страницы руководства Linux 6.13"
397
398 #. type: TH
399 #: mageia-cauldron
400 #, no-wrap
401 msgid "Linux man-pages 6.17"
402 msgstr "Страницы руководства Linux 6.17"
403
404 #. type: TH
405 #: opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "Linux man-pages (unreleased)"
408 msgstr "Страницы руководства Linux (не выпущены)"