Debian Codegraph @

templates/man3/offsetof.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:33+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "offsetof"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "offsetof - offset of a structure member"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>stddef.hE<gt>>\n"
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<size_t offsetof(>I<type>B<, >I<member>B<);>\n"
84 msgstr ""
85
86 #. type: SH
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "DESCRIPTION"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "The macro B<offsetof>() returns the offset of the field I<member> from the "
98 "start of the structure I<type>."
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 msgid ""
105 "This macro is useful because the sizes of the fields that compose a "
106 "structure can vary across implementations, and compilers may insert "
107 "different numbers of padding bytes between fields. Consequently, an "
108 "element's offset is not necessarily given by the sum of the sizes of the "
109 "previous elements."
110 msgstr ""
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 ""
116 "A compiler error will result if I<member> is not aligned to a byte boundary "
117 "(i.e., it is a bit field)."
118 msgstr ""
119
120 #. type: SH
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 #, no-wrap
124 msgid "RETURN VALUE"
125 msgstr ""
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 ""
131 "B<offsetof>() returns the offset of the given I<member> within the given "
132 "I<type>, in units of bytes."
133 msgstr ""
134
135 #. type: SH
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid "STANDARDS"
140 msgstr ""
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 msgid "C11, POSIX.1-2008."
146 msgstr ""
147
148 #. type: SH
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 #, no-wrap
152 msgid "HISTORY"
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 msgid "POSIX.1-2001, C89."
159 msgstr ""
160
161 #. type: SH
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "EXAMPLES"
166 msgstr ""
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "On a Linux/i386 system, when compiled using the default B<gcc>(1) options, "
173 "the program below produces the following output:"
174 msgstr ""
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid ""
181 "$B< ./a.out>\n"
182 "offsets: i=0; c=4; d=8 a=16\n"
183 "sizeof(struct s)=16\n"
184 msgstr ""
185
186 #. type: SS
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid "Program source"
191 msgstr ""
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid ""
198 "#include E<lt>stddef.hE<gt>\n"
199 "#include E<lt>stdio.hE<gt>\n"
200 "#include E<lt>stdlib.hE<gt>\n"
201 "\\&\n"
202 "int\n"
203 "main(void)\n"
204 "{\n"
205 " struct s {\n"
206 " int i;\n"
207 " char c;\n"
208 " double d;\n"
209 " char a[];\n"
210 " };\n"
211 "\\&\n"
212 " /* Output is compiler dependent */\n"
213 "\\&\n"
214 " printf(\"offsets: i=%zu; c=%zu; d=%zu a=%zu\\[rs]n\",\n"
215 " offsetof(struct s, i), offsetof(struct s, c),\n"
216 " offsetof(struct s, d), offsetof(struct s, a));\n"
217 " printf(\"sizeof(struct s)=%zu\\[rs]n\", sizeof(struct s));\n"
218 "\\&\n"
219 " exit(EXIT_SUCCESS);\n"
220 "}\n"
221 msgstr ""
222
223 #. type: TH
224 #: debian-trixie
225 #, no-wrap
226 msgid "2024-06-15"
227 msgstr ""
228
229 #. type: TH
230 #: debian-trixie
231 #, no-wrap
232 msgid "Linux man-pages 6.9.1"
233 msgstr ""
234
235 #. type: Plain text
236 #: debian-trixie
237 msgid "Standard C library (I<libc>, I<-lc>)"
238 msgstr ""
239
240 #. type: TH
241 #: fedora-44 fedora-rawhide
242 #, no-wrap
243 msgid "2024-07-23"
244 msgstr ""
245
246 #. type: TH
247 #: fedora-44 fedora-rawhide
248 #, no-wrap
249 msgid "Linux man-pages 6.13"
250 msgstr ""
251
252 #. type: TH
253 #: mageia-cauldron
254 #, no-wrap
255 msgid "Linux man-pages 6.17"
256 msgstr ""
257
258 #. type: TH
259 #: opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "Linux man-pages (unreleased)"
262 msgstr ""