From a5ea18413ed6beb09aa13011f52cb7f193b1614e Mon Sep 17 00:00:00 2001 From: davidxu Date: Fri, 29 Oct 2010 13:31:10 +0000 Subject: Add sysctl kern.sched.cpusetsize to export the size of kernel cpuset, also add sysconf() key _SC_CPUSET_SIZE to get sysctl value. Submitted by: gcooper --- include/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/unistd.h') diff --git a/include/unistd.h b/include/unistd.h index 4ae6917..34f187c 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -288,6 +288,7 @@ typedef __useconds_t useconds_t; #if __BSD_VISIBLE #define _SC_NPROCESSORS_CONF 57 #define _SC_NPROCESSORS_ONLN 58 +#define _SC_CPUSET_SIZE 122 #endif /* Extensions found in Solaris and Linux. */ -- cgit v1.1