diff options
author | David Xu <davidxu@FreeBSD.org> | 2010-10-29 13:31:10 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2010-10-29 13:31:10 +0000 |
commit | b67cc292dc7e400f5343898289226a203abfa002 (patch) | |
tree | 920bbfb3509bcf0a8c856da9edccd1bbd416b6da /include/unistd.h | |
parent | 27bf126d23f5e802b064d9fbcdde7007377761e8 (diff) | |
download | src-b67cc292dc7e400f5343898289226a203abfa002.tar.gz src-b67cc292dc7e400f5343898289226a203abfa002.zip |
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
Notes
Notes:
svn path=/head/; revision=214510
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 4ae691701e60..34f187ca0bf3 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. */ |