constant#

Look up a POSIX constant by name.

Σύνοψη#

my $enoent = POSIX::constant("ENOENT");

Τι επιστρέφεται#

The integer or floating-point value of the named constant, or undef if the name is not known.

Διαφορές από το upstream#

Fully compatible with upstream POSIX. Ordinary code should import the constant by name rather than going through this accessor - it exists mainly for tooling and introspection.