Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)

sysconf(3) Guardian Native C Library Calls Reference Manual
_POSIX2_CHAR_TERM
_POSIX2_LOCALEDEF
_POSIX2_UPE
_POSIX2_VERSION
This variable is not available at compile time.
Value of name: _SC_XOPEN_XCU_VERSION
Use From the Guardian Environment
The sysconf() function can be used by a Guardian process when the process has been compiled
using the #dene _XOPEN_SOURCE_EXTENDED 1
feature-test macro or an equivalent com-
piler command option.
RETURN VALUES
If the name parameter is an invalid value, the sysconf() function returns the value -1 and sets
errno to indicate the error. If the variable corresponding to
name is undened, the sysconf()
function returns the value -1 without changing the value of errno.
If the name parameter is _SC_JOB_CONTROL or _SC_SAVED_IDS, the sysconf() function
returns a nonnegative value.
Otherwise, the sysconf() function returns the current value of the variable on the system. The
value does not change during the lifetime of the calling process.
ERRORS
If the following condition occurs, the sysconf() function sets errno to the corresponding value:
[EINVAL] The value of the name parameter is invalid.
RELATED INFORMATION
Functions: pathconf(3).
Commands: getconf(1).
STANDARDS CONFORMANCE
The HP implementation of this function does not support the following symbolic variables:
ATEXIT_MAX, PAGESIZE, PAGE_SIZE,or_XOPEN_UNIX
6100 Hewlett-Packard Company 527192-005