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


Content Model

funcdef ::=


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: text, alt, anchor, annotation, biblioref, function, indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, olink, phrase (db._phrase), remark, replaceable, subscript, superscript, type, xref.

See Also

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


<article xmlns=''>
<title>Example funcdef</title>

<funcdef>int <function>rand</function></funcdef>


int rand();


This alpha reference page is $Revision: 1.4 $ published $Date: 2005/10/31 12:31:54 $.