NAME
POSIX::1003::Properties - POSIX access to _POSIX_ constants
SYNOPSIS
use POSIX::1003::Properties; # import all
use POSIX::1003::Properties 'property';
$hasnt = property('_POSIX_NO_TRUNC');
use POSIX::1003::Properties '_POSIX_NO_TRUNC';
$hasnt = _POSIX_NO_TRUNC;
use POSIX::1003::Properties '%property';
my $key = $property{_POSIX_NO_TRUNC};
$property{_POSIX_NEW} = $value;
foreach my $prop (property_names) ...
DESCRIPTION
When you compile C/C++ programs, the header files provide you with a long list of _POSIX
constants. This module pass these values on to Perl.
METHODS
FUNCTIONS
Standard POSIX
There is no system call to retrieve these values: they are defined in the C sources only.
Additional
- property($name)
-
Returns the property value related to $name.
- property_names()
-
Returns a list with all known names, unsorted.
CONSTANTS
- %property
-
This exported variable is a tie HASH which contains the values related to the system property names.
The following constants where detected on your system when the module got installed. The second column shows the value which where returned at that time.
During installation, a symbol table will get inserted here.
SEE ALSO
This module is part of POSIX-1003 distribution version 1.02, built on November 10, 2020. Website: http://perl.overmeer.net/CPAN. The code is based on POSIX, which is released with Perl itself. See also POSIX::Util for additional functionality.
COPYRIGHTS
Copyrights 2011-2020 on the perl code and the related documentation by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/