Debian Codegraph @

po/ru/man3/offsetof.3.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 # Konstantin Shvaykovskiy <[email protected]>, 2012.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:33+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:50+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 #, fuzzy, no-wrap
28 #| msgid "I<offset>"
29 msgid "offsetof"
30 msgstr "I<offset>"
31
32 #. type: TH
33 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
34 #: opensuse-tumbleweed
35 #, no-wrap
36 msgid "2026-02-08"
37 msgstr "8 февраля 2026 г."
38
39 #. type: TH
40 #: archlinux debian-unstable
41 #, fuzzy, no-wrap
42 #| msgid "Linux man-pages 6.17"
43 msgid "Linux man-pages 6.18"
44 msgstr "Справочные страницы Linux 6.17"
45
46 #. type: SH
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 #, no-wrap
50 msgid "NAME"
51 msgstr "НАИМЕНОВАНИЕ"
52
53 #. type: Plain text
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 msgid "offsetof - offset of a structure member"
57 msgstr "offsetof - смещение элемента структуры"
58
59 #. type: SH
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "LIBRARY"
64 msgstr "БИБЛИОТЕКА"
65
66 #. type: Plain text
67 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
68 #: opensuse-leap-16-1 opensuse-tumbleweed
69 msgid "Standard C library (I<libc>,\\ I<-lc>)"
70 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
71
72 #. type: SH
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "SYNOPSIS"
77 msgstr "СИНТАКСИС"
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<#include E<lt>stddef.hE<gt>>\n"
84 msgstr "B<#include E<lt>stddef.hE<gt>>\n"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "B<size_t offsetof(>I<type>B<, >I<member>B<);>\n"
91 msgstr "B<size_t offsetof(>I<type>B<, >I<member>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 "The macro B<offsetof>() returns the offset of the field I<member> from the "
105 "start of the structure I<type>."
106 msgstr ""
107 "Макрокоманда B<offsetof>() возвращает смещение поля I<member> от начала "
108 "структуры I<type>."
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 "This macro is useful because the sizes of the fields that compose a "
115 "structure can vary across implementations, and compilers may insert "
116 "different numbers of padding bytes between fields. Consequently, an "
117 "element's offset is not necessarily given by the sum of the sizes of the "
118 "previous elements."
119 msgstr ""
120 "Эта макрокоманда удобна, так как размеры полей, составляющих структуру, "
121 "могут значительно изменяться в зависимости от реализаций, а компиляторы "
122 "могут добавлять различное количество дополнительных байт между полями. "
123 "Следовательно, смещение элемента не всегда является суммой размеров "
124 "предыдущих элементов."
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 "A compiler error will result if I<member> is not aligned to a byte boundary "
131 "(i.e., it is a bit field)."
132 msgstr ""
133 "Если I<member> не выровнен по границе байта (т.е., если это битовое поле), "
134 "то компилятор вернёт ошибку."
135
136 #. type: SH
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid "RETURN VALUE"
141 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid ""
147 "B<offsetof>() returns the offset of the given I<member> within the given "
148 "I<type>, in units of bytes."
149 msgstr ""
150 "Функция B<offsetof>() возвращает смещение в байтах указанного поля I<member> "
151 "внутри указанного I<type>."
152
153 #. type: SH
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 #, no-wrap
157 msgid "STANDARDS"
158 msgstr "СТАНДАРТЫ"
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid "C11, POSIX.1-2008."
164 msgstr "C11, POSIX.1-2008."
165
166 #. type: SH
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, no-wrap
170 msgid "HISTORY"
171 msgstr "ИСТОРИЯ"
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid "POSIX.1-2001, C89."
177 msgstr "POSIX.1-2001, C89."
178
179 #. type: SH
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid "EXAMPLES"
184 msgstr "ПРИМЕРЫ"
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 msgid ""
190 "On a Linux/i386 system, when compiled using the default B<gcc>(1) options, "
191 "the program below produces the following output:"
192 msgstr ""
193 "В системах Linux/i386 при использовании компилятора B<gcc>(1) с параметрами "
194 "по умолчанию нижеследующая программа дает следующий результат:"
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 #, no-wrap
200 msgid ""
201 "$B< ./a.out>\n"
202 "offsets: i=0; c=4; d=8 a=16\n"
203 "sizeof(struct s)=16\n"
204 msgstr ""
205 "$B< ./a.out>\n"
206 "offsets: i=0; c=4; d=8 a=16\n"
207 "sizeof(struct s)=16\n"
208
209 #. type: SS
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "Program source"
214 msgstr "Исходный код программы"
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, fuzzy, no-wrap
220 #| msgid ""
221 #| " printf(\"offsets: i=%zd; c=%zd; d=%zd a=%zd\\en\",\n"
222 #| " offsetof(struct s, i), offsetof(struct s, c),\n"
223 #| " offsetof(struct s, d), offsetof(struct s, a));\n"
224 #| " printf(\"sizeof(struct s)=%zd\\en\", sizeof(struct s));\n"
225 msgid ""
226 "#include E<lt>stddef.hE<gt>\n"
227 "#include E<lt>stdio.hE<gt>\n"
228 "#include E<lt>stdlib.hE<gt>\n"
229 "\\&\n"
230 "int\n"
231 "main(void)\n"
232 "{\n"
233 " struct s {\n"
234 " int i;\n"
235 " char c;\n"
236 " double d;\n"
237 " char a[];\n"
238 " };\n"
239 "\\&\n"
240 " /* Output is compiler dependent */\n"
241 "\\&\n"
242 " printf(\"offsets: i=%zu; c=%zu; d=%zu a=%zu\\[rs]n\",\n"
243 " offsetof(struct s, i), offsetof(struct s, c),\n"
244 " offsetof(struct s, d), offsetof(struct s, a));\n"
245 " printf(\"sizeof(struct s)=%zu\\[rs]n\", sizeof(struct s));\n"
246 "\\&\n"
247 " exit(EXIT_SUCCESS);\n"
248 "}\n"
249 msgstr ""
250 " printf(\"offsets: i=%zd; c=%zd; d=%zd a=%zd\\en\",\n"
251 " offsetof(struct s, i), offsetof(struct s, c),\n"
252 " offsetof(struct s, d), offsetof(struct s, a));\n"
253 " printf(\"sizeof(struct s)=%zd\\en\", sizeof(struct s));\n"
254
255 #. type: TH
256 #: debian-trixie
257 #, no-wrap
258 msgid "2024-06-15"
259 msgstr "15 июня 2024 г."
260
261 #. type: TH
262 #: debian-trixie
263 #, no-wrap
264 msgid "Linux man-pages 6.9.1"
265 msgstr "Страницы руководства Linux 6.9.1"
266
267 #. type: Plain text
268 #: debian-trixie
269 msgid "Standard C library (I<libc>, I<-lc>)"
270 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
271
272 #. type: TH
273 #: fedora-44 fedora-rawhide
274 #, no-wrap
275 msgid "2024-07-23"
276 msgstr "23 июля 2024 г."
277
278 #. type: TH
279 #: fedora-44 fedora-rawhide
280 #, no-wrap
281 msgid "Linux man-pages 6.13"
282 msgstr "Страницы руководства Linux 6.13"
283
284 #. type: TH
285 #: mageia-cauldron
286 #, no-wrap
287 msgid "Linux man-pages 6.17"
288 msgstr "Страницы руководства Linux 6.17"
289
290 #. type: TH
291 #: opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "Linux man-pages (unreleased)"
294 msgstr "Страницы руководства Linux (не выпущены)"