sysconf#
Runtime system configuration value for the given _SC_* name.
Σύνοψη#
use POSIX qw(sysconf _SC_OPEN_MAX _SC_PAGESIZE);
my $max_fd = sysconf(_SC_OPEN_MAX);
Τι επιστρέφεται#
The configured value, or -1 if the option is not supported (in which case $! may or may not be set - distinguish by checking $! before and after).
Διαφορές από το upstream#
Fully compatible with upstream POSIX.