Skip to main content
Version: DocBook V4.5

constant

constant — A programming or system constant

Synopsis

Mixed Content Model

constant ::=
(#PCDATA|replaceable|inlinegraphic|inlinemediaobject|indexterm|
beginpage)*

Attributes

Common attributes

Name

Type

Default

class

Enumeration:

limit

None

Attributes

class

Class identifies constants that are system or application limits (for example, the maximum length of a filename).

Examples

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<para>
In ACL, <constant>main::PCS</constant> contains the path component
separator character.
</para>

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

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<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>

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