Marketplace
Buy domain register and domain transfer services
Affordable virtual hosting for ecommerce and small business
Cheap domain registration : register domain name and get free extensive domain services 

 Home Prev Up NextDocBook: The Definitive Guide 2.0.10 (Alpha)

funcdef

$Revision: 1.3 $

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

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

Synopsis

Mixed Content Model

funcdef ::=
(#PCDATA|type|replaceable|function)*

Attributes

Common attributes

Description

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.

Parents

These elements contain funcdef: funcprototype.

Children

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

Examples

<!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.

Prev  Home Next
formalpara  Up funcparams


 

  

Marketplace:
 
" A survey in the second quarter of 2000 found that 95% of all reverse-lookup domain name servers (DNS) used bind, an OSS/FS product.   "