$Revision: 1666 $
$Date: 2002-06-12 07:19:37 -0400 (Wed, 12 Jun 2002) $
funcdef — A function (subroutine) name and its return type
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
.
funcparams
, funcprototype
, funcsynopsisinfo
, function
, paramdef
, parameter
, returnvalue
, varargs
, 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> <funcprototype> <funcdef>int <function>rand</function></funcdef> <void/> </funcprototype> </funcsynopsis>
int rand( | ) ; |
For additional examples, see also
funcparams
, funcsynopsis
, paramdef
, refentry
, varargs
.