va_arg man page


This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.

va_arg, va_copy, va_end, va_start ā€” handle variable argument list


#include <stdarg.h>

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, argN);


Refer to the Base Definitions volume of POSIX.1-2008, <stdarg.h>


2013 IEEE/The Open Group POSIX Programmer's Manual