va_arg man page

Prolog

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

Synopsis

#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);

Description

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

Info

2013 IEEE/The Open Group POSIX Programmer's Manual