The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
stdarg.h File Reference

variable argument lists (the compiler's builtins). More...

Go to the source code of this file.

Macros

#define va_start(ap, last)
#define va_arg(ap, type)
#define va_end(ap)
#define va_copy(dst, src)

Typedefs

typedef __builtin_va_list va_list
 variadic arguments, from the compiler's builtins.

Detailed Description

variable argument lists (the compiler's builtins).

Macro Definition Documentation

◆ va_start

#define va_start ( ap,
last )
Value:
__builtin_va_start(ap, last)

◆ va_arg

#define va_arg ( ap,
type )
Value:
__builtin_va_arg(ap, type)

◆ va_end

#define va_end ( ap)
Value:
__builtin_va_end(ap)

◆ va_copy

#define va_copy ( dst,
src )
Value:
__builtin_va_copy(dst, src)

Typedef Documentation

◆ va_list

typedef __builtin_va_list va_list

variadic arguments, from the compiler's builtins.

works for every calling convention (stack-passed on i686, register-passed on x86_64), unlike walking a pointer from the last named parameter.