DocBook: The Definitive Guide

docbook: the definitive guide
By Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM

DocBook: The Definitive Guide
PrevNext

Name

VarArgs -- An empty element in a function synopsis indicating a variable number of arguments

Synopsis

Content Model

VarArgs ::= EMPTY

Attributes

Common attributes

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 "(…)".

Parents

These elements contain VarArgs: FuncPrototype, FuncSynopsis.

Children

In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.

See Also

FuncDef, FuncParams, FuncPrototype, FuncSynopsisInfo, Function, ParamDef, Parameter, ReturnValue, Void

Examples

<!DOCTYPE funcsynopsis PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> <funcsynopsis> <funcsynopsisinfo> #include &lt;varargs.h&gt; </funcsynopsisinfo> <funcprototype>   <funcdef>int <function>max</function></funcdef>   <varargs> </funcprototype> </funcsynopsis>

#include <varargs.h>

int max(...);

For additional examples, see also FuncSynopsis.


PrevHomeNext
UserInputUpVariableList

Back to: DocBook: The Definitive Guide


O'Reilly Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies

© 1999, O'Reilly & Associates, Inc.



DocBook. The Definitive Guide
DocBook 5: The Definitive Guide
ISBN: 0596805020
EAN: 2147483647
Year: 1999
Pages: 412
Authors: Walsh Norman, Richard L. Hamilton
BUY ON AMAZON

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net