freebsd-nq/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
confstr.gperf
fake-gperf.awk
getconf.1 getconf(1): Minor mdoc fix 2019-01-06 21:43:14 +00:00
getconf.c
getconf.h
limits.gperf
Makefile
Makefile.depend
pathconf.gperf
progenv.gperf
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