freebsd-dev/usr.bin/getconf
Enji Cooper 7b97300547 Add Linux compatibility support for SC_NPROCESSORS_{CONF,ONLN} as _SC_NPROCESSORS_{CONF,ONLN}
The goal of this change is to make it easier to use getconf to query
the number of available processors.

Sadly it's unclear per POSIX, which form (with a preceding _ or
lacking it) is correct. I will bring this up on the Austin Group list so
this point is clarified for implementors that might rely on this getconf
variable in future POSIX spec versions.

This is something I noticed when trying to import GoogleTest to FreeBSD
as one of the CI scripts uses this variable on Linux.

MFC after:	2 weeks
Approved by:	emaste (mentor)
Differential Revision:	https://reviews.freebsd.org/D18640
2019-01-11 22:28:18 +00:00
..
tests DIRDEPS_BUILD: Connect new directories. 2017-10-31 00:04:07 +00:00
confstr.gperf Add an -a flag to getconf. 2017-09-15 22:55:15 +00:00
fake-gperf.awk getconf: use nitems(..) to compute NWORDS instead of hardcoding 2017-05-14 20:39:01 +00:00
getconf.1 getconf(1): Minor mdoc fix 2019-01-06 21:43:14 +00:00
getconf.c Move unsigned limits to a separate table/recognizer and display them 2018-05-23 02:51:56 +00:00
getconf.h Move unsigned limits to a separate table/recognizer and display them 2018-05-23 02:51:56 +00:00
limits.gperf Move unsigned limits to a separate table/recognizer and display them 2018-05-23 02:51:56 +00:00
Makefile Move unsigned limits to a separate table/recognizer and display them 2018-05-23 02:51:56 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pathconf.gperf Add an -a flag to getconf. 2017-09-15 22:55:15 +00:00
progenv.gperf Expose the ILP32/LP64 programming environments based on 2017-07-17 18:12:08 +00:00
sysconf.gperf Add Linux compatibility support for SC_NPROCESSORS_{CONF,ONLN} as _SC_NPROCESSORS_{CONF,ONLN} 2019-01-11 22:28:18 +00:00
unsigned_limits.gperf Whoops, forgot to add this file in r334070. 2018-05-23 02:54:28 +00:00