DocBook: The Definitive GuideBy Norman Walsh & Leonard Muellner1st Edition October 1999 1-56592-580-7, Order Number: 5807 652 pages, $36.95 , Includes CD-ROM |
VarArgs
Synopsis
Content Model
VarArgs ::= EMPTYAttributes
Tag Minimization
The start-tag is required for this element. The end-tag is optional, if your SGML declaration allows minimization.
Description
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 "(…)".
See Also
FuncDef, FuncParams, FuncPrototype, FuncSynopsisInfo, Function, ParamDef, Parameter, ReturnValue, Void
Examples
<!DOCTYPE funcsynopsis PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> <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.
Back to: DocBook: The Definitive Guide
© 2001, O'Reilly & Associates, Inc.