diff options
author | davidxu <davidxu@FreeBSD.org> | 2010-10-29 13:31:10 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2010-10-29 13:31:10 +0000 |
commit | a5ea18413ed6beb09aa13011f52cb7f193b1614e (patch) | |
tree | 920bbfb3509bcf0a8c856da9edccd1bbd416b6da /include/unistd.h | |
parent | 192d172d5b1d8af52903ebccf1859dbd3a5385f3 (diff) | |
download | FreeBSD-src-a5ea18413ed6beb09aa13011f52cb7f193b1614e.zip FreeBSD-src-a5ea18413ed6beb09aa13011f52cb7f193b1614e.tar.gz |
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
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ |