Index: sys/sys/unistd.h =================================================================== RCS file: /cvs/src/sys/sys/unistd.h,v retrieving revision 1.16 diff -u -p -r1.16 unistd.h --- sys/sys/unistd.h 22 Aug 2008 14:39:21 -0000 1.16 +++ sys/sys/unistd.h 29 Dec 2009 02:42:13 -0000 @@ -142,6 +142,8 @@ #define _SC_PHYS_PAGES 500 #define _SC_AVPHYS_PAGES 501 +#define _SC_NPROCESSORS_CONF 502 +#define _SC_NPROCESSORS_ONLN 503 /* configurable system strings */ #define _CS_PATH 1
On Friday 15 January 2010 09:35:48 Stuart Henderson wrote: > CVSROOT: /cvs > Module name: src > Changes by: [email protected] 2010/01/15 01:35:47 > > Modified files: > lib/libc : shlib_version > lib/libc/gen : sysconf.3 sysconf.c > > Log message: > Add support to sysconf(3) for the variables _SC_NPROCESSORS_CONF and > _SC_NPROCESSORS_ONLN, implemented by > AIX/Tru64/Solaris/Linux/SCO/FreeBSD/NetBSD. Bump libc minor. > > From Brad, ok deraadt@ guenther@
