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 | ||
---|---|---|
Prev | Next |
FuncDef ::= ((#PCDATA|Replaceable|Function)*)
Common attributes
Both the start- and end-tags are required for this element.
A FuncDef contains the name of a programming language function, and its return type.
Within the FuncDef, the function name is identified with Function, and the rest of the content is assumed to be the return type.
In the following definition, max is the name of the function and int is the return type:
<funcdef>int <function>max</function></funcdef>
Formatted inline. For a complete description of the processing expecations, see FuncSynopsis.
These elements contain FuncDef: FuncPrototype, FuncSynopsis.
The following elements occur in FuncDef: Function, Replaceable.
In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.
FuncParams, FuncPrototype, FuncSynopsisInfo, Function, ParamDef, Parameter, ReturnValue, VarArgs, Void
<!DOCTYPE funcsynopsis PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> <funcsynopsis> <funcprototype> <funcdef>int <function>rand</function></funcdef> <void> </funcprototype> </funcsynopsis>
int rand
(void);
For additional examples, see also FuncSynopsis, ParamDef, VarArgs.
Prev | Home | Next |
FormalPara | Up | FuncParams |
Back to: DocBook: The Definitive Guide
© 1999, O'Reilly & Associates, Inc.