$Revision: 1.3 $
$Date: 2002/06/12 11:18:42 $
varargs — An empty element in a function synopsis indicating a variable number of arguments
VarArgs indicates that a function takes a variable number of arguments.
The VarArgs element produces generated text that indicates that the function takes a variable number of arguments. The exact generated text may vary. One common result is “(…)”.
funcdef, funcparams, funcprototype, funcsynopsisinfo, function, paramdef, parameter, returnvalue, void.
<!DOCTYPE funcsynopsis PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> <funcsynopsis> <funcsynopsisinfo> #include <varargs.h> </funcsynopsisinfo> <funcprototype> <funcdef>int <function>max</function></funcdef> <varargs/> </funcprototype> </funcsynopsis>
#include <varargs.h>
int max(
...)
;
For additional examples, see also funcsynopsis.