mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 04:01:10 +00:00
getconf: Add NPROCESSORS_{CONF,ONLN} [BZ #31661]
These are required by the upcoming POSIX standard and are available on other platforms. Link: https://austingroupbugs.net/view.php?id=339 Signed-off-by: Mohamed Akram <mohd.akram@outlook.com> Reviewed-by: Arjun Shankar <arjun@redhat.com>
This commit is contained in:
parent
92c270d32c
commit
2f7246015c
@ -121,7 +121,9 @@ static const struct conf vars[] =
|
||||
{ "WORD_BIT", _SC_WORD_BIT, SYSCONF },
|
||||
{ "_AVPHYS_PAGES", _SC_AVPHYS_PAGES, SYSCONF },
|
||||
{ "_NPROCESSORS_CONF", _SC_NPROCESSORS_CONF, SYSCONF },
|
||||
{ "NPROCESSORS_CONF", _SC_NPROCESSORS_CONF, SYSCONF },
|
||||
{ "_NPROCESSORS_ONLN", _SC_NPROCESSORS_ONLN, SYSCONF },
|
||||
{ "NPROCESSORS_ONLN", _SC_NPROCESSORS_ONLN, SYSCONF },
|
||||
{ "_PHYS_PAGES", _SC_PHYS_PAGES, SYSCONF },
|
||||
{ "_POSIX_ARG_MAX", _SC_ARG_MAX, SYSCONF },
|
||||
{ "_POSIX_ASYNCHRONOUS_IO", _SC_ASYNCHRONOUS_IO, SYSCONF },
|
||||
|
Loading…
Reference in New Issue
Block a user