libc.info: va_start

Go forward to va_arg
Go up to Stdarg
Go to the top op libc

Initialize variable argument list

   *Synopsis*
     #include <stdarg.h>
     void va_start(va_list AP, RIGHTMOST);
   *Description*
Use `va_start' to initialize the variable argument list AP, so that
`va_arg' can extract values from it.  RIGHTMOST is the name of the last
explicit argument in the parameter list (the argument immediately
preceding the ellipsis `...' that flags variable arguments in an ANSI C
function header).  You can only use `va_start' in a function declared
using this ellipsis notation (not, for example, in one of its
subfunctions).
   *Returns*
`va_start' does not return a result.
   *Portability*
ANSI C requires `va_start'.