Debian Codegraph @

po/de/man3/stdarg.3.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Patrick Rother <[email protected]>
5 # Chris Leick <[email protected]>, 2011-2016.
6 # Helge Kreutzmann <[email protected]>, 2019, 2021.
7 # Mario Blättermann <[email protected]>, 2023.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n 4.23.1\n"
11 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
12 "PO-Revision-Date: 2024-06-29 18:17+0200\n"
13 "Last-Translator: Mario Blättermann <[email protected]>\n"
14 "Language-Team: German <[email protected]>\n"
15 "Language: de\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=2; plural=(n != 1);\n"
20 "X-Generator: Lokalize 23.04.3\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "stdarg"
27 msgstr "stdarg"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2025-05-17"
34 msgstr "17. Mai 2025"
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.18"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "BEZEICHNUNG"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "stdarg, va_start, va_arg, va_end, va_copy - variable argument lists"
53 msgstr "stdarg, va_start, va_arg, va_end, va_copy - variable Argument-Listen"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "BIBLIOTHEK"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "ÜBERSICHT"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>stdarg.hE<gt>>\n"
80 msgstr "B<#include E<lt>stdarg.hE<gt>>\n"
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 ""
87 "B<void va_start(va_list >I<ap>B<, >I<last>B<);>\n"
88 "I<type>B< va_arg(va_list >I<ap>B<, >I<type>B<);>\n"
89 "B<void va_end(va_list >I<ap>B<);>\n"
90 "B<void va_copy(va_list >I<dest>B<, va_list >I<src>B<);>\n"
91 msgstr ""
92 "B<void va_start(va_list >I<ap>B<, >I<letztes>B<);>\n"
93 "I<Typ>B< va_arg(va_list >I<ap>B<, >I<Typ>B<);>\n"
94 "B<void va_end(va_list >I<ap>B<);>\n"
95 "B<void va_copy(va_list >I<Ziel>B<, va_list >I<Quelle>B<);>\n"
96
97 #. type: SH
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "DESCRIPTION"
102 msgstr "BESCHREIBUNG"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "A function may be called with a varying number of arguments of varying "
109 "types. The include file I<E<lt>stdarg.hE<gt>> declares a type I<va_list> "
110 "and defines three macros for stepping through a list of arguments whose "
111 "number and types are not known to the called function."
112 msgstr ""
113 "Eine Funktion kann mit einer unterschiedlichen Anzahl von Argumenten "
114 "verschiedenen Typs aufgerufen werden. Die Include-Datei I<stdarg.h> "
115 "deklariert einen Typ B<va_list> und definiert drei Makros, um eine Liste von "
116 "Argumenten durchzugehen, deren Anzahl und Typen der aufgerufenen Funktion "
117 "unbekannt sind."
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid ""
123 "The called function must declare an object of type I<va_list> which is used "
124 "by the macros B<va_start>(), B<va_arg>(), and B<va_end>()."
125 msgstr ""
126 "Die aufgerufene Funktion muss ein Objekt des Typs B<va_list> deklarieren, "
127 "welches von den Makros B<va_start>(), B<va_arg>() und B<va_end>() benutzt "
128 "wird."
129
130 #. type: SS
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, no-wrap
134 msgid "va_start()"
135 msgstr "va_start()"
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid ""
141 "The B<va_start>() macro initializes I<ap> for subsequent use by "
142 "B<va_arg>() and B<va_end>(), and must be called first."
143 msgstr ""
144 "Das Makro B<va_start>() initialisiert I<ap> zur nachfolgenden Benutzung "
145 "durch B<va_arg>() und B<va_end>() und muss zuerst aufgerufen werden."
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid ""
151 "The argument I<last> is the name of the last argument before the variable "
152 "argument list, that is, the last argument of which the calling function "
153 "knows the type."
154 msgstr ""
155 "Das Argument I<letztes> ist der Name des letzten Arguments vor der Liste der "
156 "veränderlichen Argumente, das heisst, das letzt Argument, dessen Typ die "
157 "aufrufende Funktion kennt."
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 "Because the address of this argument may be used in the B<va_start>() "
164 "macro, it should not be declared as a register variable, or as a function or "
165 "an array type."
166 msgstr ""
167 "Da die Adresse dieses Parameters im Makro B<va_start>() benutzt wird, sollte "
168 "er nicht als eine Registervariable, als Funktion oder als ein Feldtyp "
169 "deklariert werden."
170
171 #. type: SS
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 #, no-wrap
175 msgid "va_arg()"
176 msgstr "va_arg()"
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "The B<va_arg>() macro expands to an expression that has the type and value "
183 "of the next argument in the call. The argument I<ap> is the I<va_list> "
184 "I<ap> initialized by B<va_start>(). Each call to B<va_arg>() modifies "
185 "I<ap> so that the next call returns the next argument. The argument I<type> "
186 "is a type name specified so that the type of a pointer to an object that has "
187 "the specified type can be obtained simply by adding a * to I<type>."
188 msgstr ""
189 "Das Makro B<va_arg>() expandiert zu einem Ausdruck, der den Typ und Wert des "
190 "nächsten aufzurufenden Argumentes hat. Das Argument I<ap> ist die B<va_list> "
191 "I<ap>, initialisiert durch B<va_start>(). Jeder Aufruf von B<va_arg>() "
192 "verändert I<ap> so, dass der folgende Aufruf das nächste Argument "
193 "zurückgibt. Der Parameter I<typ> ist ein Typenname, der so angegeben ist, "
194 "dass der Typ eines Zeigers auf ein Objekt, das den angegebenen Typ hat, "
195 "einfach durch Hinzufügen eines * zu I<typ> erhalten werden kann."
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid ""
201 "The first use of the B<va_arg>() macro after that of the B<va_start>() "
202 "macro returns the argument after I<last>. Successive invocations return the "
203 "values of the remaining arguments."
204 msgstr ""
205 "Die erste Benutzung des Makros B<va_arg>() nach B<va_start>() gibt das "
206 "Argument nach I<letztes> zurück. Nachfolgende Aufrufe geben die Werte der "
207 "verbleibenden Argumente zurück."
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "If there is no next argument, or if I<type> is not compatible with the type "
214 "of the actual next argument (as promoted according to the default argument "
215 "promotions), random errors will occur."
216 msgstr ""
217 "Wenn es kein weiteres Argument gibt oder wenn I<typ> nicht kompatibel mit "
218 "dem Typ des tatsächlich nächsten Argumentes ist (entsprechend der üblichen "
219 "»argument promotions«), erscheinen zufällige Fehler."
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "If I<ap> is passed to a function that uses B<va_arg(>I<ap>B<,>I<type>B<),> "
226 "then the value of I<ap> is undefined after the return of that function."
227 msgstr ""
228 "Falls I<ap> an eine Funktion übergeben wird, die "
229 "B<va_arg(>I<ap>B<,>I<Typ>B<)> benutzt, dann ist der Wert von I<ap> nach der "
230 "Rückkehr dieser Funktion undefiniert."
231
232 #. type: SS
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "va_end()"
237 msgstr "va_end()"
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "Each invocation of B<va_start>() must be matched by a corresponding "
244 "invocation of B<va_end>() in the same function. After the call "
245 "B<va_end(>I<ap>B<)> the variable I<ap> is undefined. Multiple traversals of "
246 "the list, each bracketed by B<va_start>() and B<va_end>() are possible. "
247 "B<va_end>() may be a macro or a function."
248 msgstr ""
249 "Zu jedem Aufruf von B<va_start>() muss zu einen zugehörigen Aufruf von "
250 "B<va_end>() in der gleichen Funktion geben. Nach dem Aufruf "
251 "B<va_end(>I<ap>B<)> ist die Variable I<ap> undefiniert. Es sind mehrere "
252 "Durchläufe der Liste möglich, jeweils von B<va_start>() und B<va_end>() "
253 "eingeschlossen. B<va_end>() kann ein Makro oder eine Funktion sein."
254
255 #. type: SS
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "va_copy()"
260 msgstr "va_copy()"
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 msgid ""
266 "The B<va_copy>() macro copies the (previously initialized) variable "
267 "argument list I<src> to I<dest>. The behavior is as if B<va_start>() were "
268 "applied to I<dest> with the same I<last> argument, followed by the same "
269 "number of B<va_arg>() invocations that was used to reach the current state "
270 "of I<src>."
271 msgstr ""
272 "Das Makro B<va_copy>() kopiert die (vorher initialisierte) "
273 "Variablenargumentliste I<quelle> nach I<ziel>. Das Verhalten ist so, als ob "
274 "B<va_start>() auf I<ziel> mit dem selben Argument I<letztes> angewandt "
275 "worden wäre, gefolgt von der gleichen Anzahl Aufrufe von B<va_arg>(), die "
276 "benutzt wurden, um den aktuellen Status von I<quelle> zu erreichen."
277
278 # http://www.a-m-i.de/tips/stack/stack.php
279 # http://de.wikipedia.org/wiki/Variadische_Funktion
280 #. Proposal from [email protected], 1997-02-28
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid ""
285 "An obvious implementation would have a I<va_list> be a pointer to the stack "
286 "frame of the variadic function. In such a setup (by far the most common) "
287 "there seems nothing against an assignment"
288 msgstr ""
289 "Eine naheliegende Implementierung hätte eine I<va_list>, die ein Zeiger in "
290 "den »Stack-Frame« der variadischen Funktion wäre. In einem derartigen "
291 "Szenario (dem bei weitem üblichsten) scheint nichts gegen folgende Zuweisung "
292 "zu sprechen"
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 #, no-wrap
298 msgid "va_list aq = ap;\n"
299 msgstr "va_list aq = ap;\n"
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid ""
305 "Unfortunately, there are also systems that make it an array of pointers (of "
306 "length 1), and there one needs"
307 msgstr ""
308 "Leider gibt es auch Systeme, die es als Feld von Zeigern (der Länge 1) "
309 "anlegen. Dort wird dann folgendes benötigt:"
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid ""
316 "va_list aq;\n"
317 "*aq = *ap;\n"
318 msgstr ""
319 "va_list aq;\n"
320 "*aq = *ap;\n"
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid ""
326 "Finally, on systems where arguments are passed in registers, it may be "
327 "necessary for B<va_start>() to allocate memory, store the arguments there, "
328 "and also an indication of which argument is next, so that B<va_arg>() can "
329 "step through the list. Now B<va_end>() can free the allocated memory "
330 "again. To accommodate this situation, C99 adds a macro B<va_copy>(), so "
331 "that the above assignment can be replaced by"
332 msgstr ""
333 "Zu guter Letzt kann es auf Systemen, die Argumente in Registern übergeben, "
334 "nötig sein, dass B<va_start> Speicher reserviert und in diesem die Argumente "
335 "und einen Positionsanzeiger speichert, so dass B<va_arg>() diese Liste "
336 "durchschreiten kann. Dann kann B<va_end>() den reservierten Speicher wieder "
337 "freigeben. Um dieser Situation Rechnung zu tragen, fügt C99 ein Makro "
338 "B<va_copy>() hinzu, so dass obige Zuweisung durch Folgendes ersetzt werden "
339 "kann"
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid ""
346 "va_list aq;\n"
347 "va_copy(aq, ap);\n"
348 "\\&...\n"
349 "va_end(aq);\n"
350 msgstr ""
351 "va_list aq;\n"
352 "va_copy(aq, ap);\n"
353 "…\n"
354 "va_end(aq);\n"
355
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 msgid ""
360 "Each invocation of B<va_copy>() must be matched by a corresponding "
361 "invocation of B<va_end>() in the same function. Some systems that do not "
362 "supply B<va_copy>() have B<__va_copy> instead, since that was the name used "
363 "in the draft proposal."
364 msgstr ""
365 "Zu jedem Aufruf von B<va_copy>() muss zu einen zugehörigen Aufruf von "
366 "B<va_end>() in der gleichen Funktion geben. Einige Systeme, die kein "
367 "B<va_copy>() bereitstellen, haben stattdessen B<__va_copy>, da das der "
368 "gleiche Name ist, der im ursprünglichen Vorschlag benutzt wurde."
369
370 #. type: SH
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "ATTRIBUTES"
375 msgstr "ATTRIBUTE"
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid ""
381 "For an explanation of the terms used in this section, see B<attributes>(7)."
382 msgstr ""
383 "Siehe B<attributes>(7) für eine Erläuterung der in diesem Abschnitt "
384 "verwandten Ausdrücke."
385
386 #. type: tbl table
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid "Interface"
391 msgstr "Schnittstelle"
392
393 #. type: tbl table
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "Attribute"
398 msgstr "Attribut"
399
400 #. type: tbl table
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "Value"
405 msgstr "Wert"
406
407 #. type: tbl table
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid ".na\n"
412 msgstr ".na\n"
413
414 #. type: tbl table
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid ".nh\n"
419 msgstr ".nh\n"
420
421 #. type: tbl table
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid ""
426 "B<va_start>(),\n"
427 "B<va_end>(),\n"
428 "B<va_copy>()"
429 msgstr ""
430 "B<va_start>(),\n"
431 "B<va_end>(),\n"
432 "B<va_copy>()"
433
434 #. type: tbl table
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 #, no-wrap
438 msgid "Thread safety"
439 msgstr "Multithread-Fähigkeit"
440
441 #. type: tbl table
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "MT-Safe"
446 msgstr "MT-Sicher"
447
448 #. type: TQ
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "B<va_arg>()"
453 msgstr "B<va_arg>()"
454
455 #. type: tbl table
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 #, no-wrap
459 msgid "MT-Safe race:ap"
460 msgstr "MT-Sicher race:ap"
461
462 #. type: SH
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 #, no-wrap
466 msgid "STANDARDS"
467 msgstr "STANDARDS"
468
469 #. type: Plain text
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 msgid "C11, POSIX.1-2008."
473 msgstr "C11, POSIX.1-2008."
474
475 #. type: SH
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 #, no-wrap
479 msgid "HISTORY"
480 msgstr "GESCHICHTE"
481
482 #. type: TP
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "B<va_start>()"
487 msgstr "B<va_start>()"
488
489 #. type: TQ
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "B<va_end>()"
494 msgstr "B<va_end>()"
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 msgid "C89, POSIX.1-2001."
500 msgstr "C89, POSIX.1-2001."
501
502 #. type: TP
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 #, no-wrap
506 msgid "B<va_copy>()"
507 msgstr "B<va_copy>()"
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 msgid "C99, POSIX.1-2001."
513 msgstr "C99, POSIX.1-2001."
514
515 #. type: SH
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "CAVEATS"
520 msgstr "WARNUNGEN"
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid ""
526 "Unlike the historical B<varargs> macros, the B<stdarg> macros do not permit "
527 "programmers to code a function with no fixed arguments. This problem "
528 "generates work mainly when converting B<varargs> code to B<stdarg> code, but "
529 "it also creates difficulties for variadic functions that wish to pass all of "
530 "their arguments on to a function that takes a I<va_list> argument, such as "
531 "B<vfprintf>(3)."
532 msgstr ""
533 "Im Gegensatz zu den historischen Makros B<varargs> erlauben die Makros "
534 "B<stdarg> dem Programmierer nicht, eine Funktion ohne feste Argumente zu "
535 "implementieren. Das ist hauptsächlich ein Problem, wenn man Code mit "
536 "B<varargs> nach B<stdarg> konvertiert, aber es erzeugt auch Schwierigkeiten "
537 "bei veränderlichen Funktionen die wünschen, ihre Argumente an eine Funktion "
538 "weiterzugeben, die ein Argument B<va_list> aufnimmt, so wie B<vfprintf>(3)."
539
540 #. type: SH
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 #, no-wrap
544 msgid "EXAMPLES"
545 msgstr "BEISPIELE"
546
547 #. type: Plain text
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 msgid ""
551 "The function I<foo> takes a string of format characters and prints out the "
552 "argument associated with each format character based on the type."
553 msgstr ""
554 "Die Funktion I<foo> nimmt eine Zeichenkette von Formatzeichen entgegen und "
555 "gibt für jedes Zeichen ein Argument des entsprechenden Typs aus."
556
557 #. type: Plain text
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 #, no-wrap
561 msgid ""
562 "#include E<lt>stdio.hE<gt>\n"
563 "#include E<lt>stdarg.hE<gt>\n"
564 "\\&\n"
565 "void\n"
566 "foo(char *fmt, ...) /* \\[aq]...\\[aq] is C syntax for a variadic function */\n"
567 "\\&\n"
568 "{\n"
569 " va_list ap;\n"
570 " int d;\n"
571 " char c;\n"
572 " char *s;\n"
573 "\\&\n"
574 " va_start(ap, fmt);\n"
575 " while (*fmt)\n"
576 " switch (*fmt++) {\n"
577 " case \\[aq]s\\[aq]: /* string */\n"
578 " s = va_arg(ap, char *);\n"
579 " printf(\"string %s\\[rs]n\", s);\n"
580 " break;\n"
581 " case \\[aq]d\\[aq]: /* int */\n"
582 " d = va_arg(ap, int);\n"
583 " printf(\"int %d\\[rs]n\", d);\n"
584 " break;\n"
585 " case \\[aq]c\\[aq]: /* char */\n"
586 " /* need a cast here since va_arg only\n"
587 " takes fully promoted types */\n"
588 " c = (char) va_arg(ap, int);\n"
589 " printf(\"char %c\\[rs]n\", c);\n"
590 " break;\n"
591 " }\n"
592 " va_end(ap);\n"
593 "}\n"
594 msgstr ""
595 "#include E<lt>stdio.hE<gt>\n"
596 "#include E<lt>stdarg.hE<gt>\n"
597 "\\&\n"
598 "void\n"
599 "foo(char *fmt, …) /* »…« ist C-Syntax für eine variadische Funktion */\n"
600 "\\&\n"
601 "{\n"
602 " va_list ap;\n"
603 " int d;\n"
604 " char c;\n"
605 " char *s;\n"
606 "\\&\n"
607 " va_start(ap, fmt);\n"
608 " while (*fmt)\n"
609 " switch (*fmt++) {\n"
610 " case \\[aq]s\\[aq]: /* Zeichenkette */\n"
611 " s = va_arg(ap, char *);\n"
612 " printf(\"string %s\\[rs]n\", s);\n"
613 " break;\n"
614 " case \\[aq]d\\[aq]: /* Ganzzahl */\n"
615 " d = va_arg(ap, int);\n"
616 " printf(\"int %d\\[rs]n\", d);\n"
617 " break;\n"
618 " case \\[aq]c\\[aq]: /* Zeichen */\n"
619 " /* hier wird eine Typumwandlung benötigt, da va_arg\n"
620 " nur vollständig unterstützte Typen aufnimmt */\n"
621 " c = (char) va_arg(ap, int);\n"
622 " printf(\"char %c\\[rs]n\", c);\n"
623 " break;\n"
624 " }\n"
625 " va_end(ap);\n"
626 "}\n"
627
628 #. type: SH
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 #, no-wrap
632 msgid "SEE ALSO"
633 msgstr "SIEHE AUCH"
634
635 #. type: Plain text
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 msgid "B<vprintf>(3), B<vscanf>(3), B<vsyslog>(3)"
639 msgstr "B<vprintf>(3), B<vscanf>(3), B<vsyslog>(3)"
640
641 #. type: TH
642 #: debian-trixie
643 #, no-wrap
644 msgid "2024-06-15"
645 msgstr "15. Juni 2024"
646
647 #. type: TH
648 #: debian-trixie
649 #, no-wrap
650 msgid "Linux man-pages 6.9.1"
651 msgstr "Linux man-pages 6.9.1"
652
653 #. type: Plain text
654 #: debian-trixie
655 msgid "Standard C library (I<libc>, I<-lc>)"
656 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
657
658 #. type: TH
659 #: fedora-44 fedora-rawhide
660 #, no-wrap
661 msgid "2024-07-23"
662 msgstr "23. Juli 2024"
663
664 #. type: TH
665 #: fedora-44 fedora-rawhide
666 #, no-wrap
667 msgid "Linux man-pages 6.13"
668 msgstr "Linux man-pages 6.13"
669
670 #. type: TH
671 #: mageia-cauldron
672 #, no-wrap
673 msgid "Linux man-pages 6.17"
674 msgstr "Linux man-pages 6.17"
675
676 #. type: TH
677 #: opensuse-leap-16-1 opensuse-tumbleweed
678 #, no-wrap
679 msgid "Linux man-pages (unreleased)"
680 msgstr "Linux man-pages (unveröffentlicht)"