Linux Standard Base Core Specification, Generic Part | ||
---|---|---|
<<< Previous | Next >>> |
sysconf() is as specified in POSIX 1003.1-2008 (ISO/IEC 9945-2009), but with differences as listed below.
These additional values extend the list in POSIX 1003.1-2008 (ISO/IEC 9945-2009).
The number of pages of physical memory.
The number of currently available pages of physical memory.
The number of processors configured.
The number of processors currently online (available).
While this specification only requires conformance with POSIX 1003.1-2008 (ISO/IEC 9945-2009), implementations are not constrained from moving on and claiming conformance with a subsequent edition, POSIX 1003.1-2008 (ISO/IEC 9945-2009). Thus for run-time checks using sysconf(), the wording is amended to allow return values of 0, -1, 200112L or 200809L where formerly 200809L was not listed as allowed.
<<< Previous | Home | Next >>> |
swscanf | Up | sysinfo |