constant — A programming or system constant
constant ::=
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
Common attributes and common linking attributes.
Additional attributes:
A Constant
identifies a value as immutable. It is most often
used to identify system limitations or other defined constants.
Common attributes and common linking attributes.
FIXME:
Enumerated values: | |
---|---|
“limit” | FIXME: |
These elements contain constant
: bridgehead
, citation
, citetitle
, classsynopsisinfo
, computeroutput
, emphasis
(db.emphasis), entry
, firstterm
, funcsynopsisinfo
, glosssee
, glossseealso
, glossterm
, html:button
, html:label
, html:legend
, link
, literallayout
, member
, olink
, orgdiv
, para
, phrase
(db.phrase), primary
, primaryie
, programlisting
, quote
, refdescriptor
, refentrytitle
, refname
, refpurpose
, screen
, secondary
, secondaryie
, see
, seealso
, seealsoie
, seeie
, seg
, segtitle
, simpara
, subtitle
, synopsis
, td
, term
, termdef
, tertiary
, tertiaryie
, th
, title
, titleabbrev
, tocentry
, userinput
.
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
.
command
, computeroutput
, literal
, markup
, option
, optional
, parameter
, prompt
, replaceable
, tag
, userinput
, varname
<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
.