Namespaces
Variants
Actions

Standard library header <stdarg.h>

From cppreference.com
< c‎ | header
 
C
 
Standard Library headers

This header provides support for varying arguments.

Types
holds the information needed by va_start, va_arg, va_end, and va_copy
(typedef) [edit]
Macros
enables access to variadic function arguments
(function macro) [edit]
accesses the next variadic function argument
(function macro) [edit]
makes a copy of the variadic function arguments
(function macro) [edit]
ends traversal of the variadic function arguments
(function macro) [edit]

[edit] Synopsis

#define __STDC_VERSION_STDARG_H__ 202311L
 
typedef /*unspecified*/ va_list;
 
/*type*/ va_arg(va_list ap, /*type*/);
void va_copy(va_list dest, va_list src);
void va_end(va_list ap);
void va_start(va_list ap, ...);

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant