diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2010-01-15 10:17:49 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2010-01-15 10:17:49 +0000 |
commit | 6e64430f40385dcdc3723267d1851674d7731013 (patch) | |
tree | 5aae166750f8b6035754b177278a76f5733dbf5c | |
parent | 2cc3c1ead156b189400c0c7448fdc1144ab061b0 (diff) |
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@
(File missing from previous commit, pointed out by johan@ - thanks!)
-rw-r--r-- | sys/sys/unistd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h index 973ba263ea7..ad44a421382 100644 --- a/sys/sys/unistd.h +++ b/sys/sys/unistd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: unistd.h,v 1.16 2008/08/22 14:39:21 deraadt Exp $ */ +/* $OpenBSD: unistd.h,v 1.17 2010/01/15 10:17:48 sthen Exp $ */ /* $NetBSD: unistd.h,v 1.10 1994/06/29 06:46:06 cgd Exp $ */ /* @@ -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 |