constant

constant — A programming or system constant

Synopsis

Content Model

constant ::=

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • class (enumeration)
    • “limit”

Description

A Constant identifies a value as immutable. It is most often used to identify system limitations or other defined constants.

Processing expectations

Formatted inline.

Attributes

Common attributes and common linking attributes.

class

FIXME:

Enumerated values:

limit

FIXME:

Children

The following elements occur in constant: text, alt, anchor, annotation, biblioref, indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, olink, phrase (db._phrase), remark, replaceable, subscript, superscript, xref.

See Also

command, computeroutput, literal, markup, option, optional, parameter, prompt, replaceable, tag, userinput, varname

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example constant</title>

<para>In ACL, <constant>main::PCS</constant> contains the path component
separator character.
</para>

</article>

In ACL, main::PCS contains the path component separator character.

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example constant</title>

<para>The maximum legal length for a path name is 
<constant class='limit'>PATH_MAX</constant>, defined in
<filename class='headerfile'>limits.h</filename>.
</para>

</article>

The maximum legal length for a path name is PATH_MAX, defined in limits.h.

ChangeLog

This alpha reference page is $Revision: 1.4 $ published $Date: 2005/10/30 21:59:13 $.