DocBook 5.1: The Definitive Guide (Version 1.5.3 for DocBook 5.1)
varargs
varargs — An empty element in a function synopsis indicating a variable number of arguments.
Description
A varargs
indicates that a function takes a
variable number of arguments.
Processing expectations
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
(…)
.
Parents
These elements contain varargs
: funcprototype
.
See Also
Examples
<article xmlns='http://docbook.org/ns/docbook'>
<title>Example varargs</title>
<funcsynopsis>
<funcsynopsisinfo>
#include <varargs.h>
</funcsynopsisinfo>
<funcprototype>
<funcdef>int <function>max</function></funcdef>
<varargs/>
</funcprototype>
</funcsynopsis>
</article>