VARARGS(3)              NetBSD Library Functions Manual
VARARGS(3)       varargs -- variable argument lists
#include <varargs.h>       va_start(va_list ap);
va_arg(va_list ap, type);       va_end(va_list ap);       These
historic interfaces are provided to support compilation of
existing      programs only.  New code should use the stdarg(3)
interfaces.       types.  The include file <varargs.h> declares
a type (va_list) and      defines three macros for stepping
through a list of arguments whose num-      ber and types are
not known to the called function.       The called function must
name an argument va_alist, which marks the start      of the
variable argument list, and which is naturally the last argument
named.  It is declared by va_dcl, which should not be followed
by a semi-      colon.  The called function also must declare an
object of type va_list       va_end(), and must be called first.
It is possible for va_alist to be the only parameter to a
function,      re