$Revision: 1.3 $

$Date: 2002/06/12 11:18:10 $

funcdef — A function (subroutine) name and its return type


Mixed Content Model

funcdef ::=


Common attributes

DocBook NG “Bourbon” Content Model

funcdef ::=

DocBook NG “Bourbon” Attributes

Common attributes and common linking attributes.


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>

Processing expectations

Formatted inline. For a complete description of the processing expecations, see FuncSynopsis.


These elements contain funcdef: funcprototype.


The following elements occur in funcdef: function, replaceable, type.

See Also

funcparams, funcprototype, funcsynopsisinfo, function, paramdef, parameter, returnvalue, varargs, void.


<!DOCTYPE funcsynopsis PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
<funcdef>int <function>rand</function></funcdef>

int rand();

For additional examples, see also funcparams, funcsynopsis, paramdef, refentry, varargs.