summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-03-16 19:56:28 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-03-16 19:56:28 +0000
commita76f94c31f5e1b2da03a560e6b379595e0077e1f (patch)
treef749a404534ef084386b5488b7a3958676e48a3a /sys
parent184652f0aac51db18e318953058474a7ac4493b6 (diff)
Add the semi-standard _SC_PHYS_PAGES and _SC_AVPHYS_PAGES, sysconf(3) variable.
ok espie@
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/unistd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h
index 88a77bcf42e..6d436a9d65b 100644
--- a/sys/sys/unistd.h
+++ b/sys/sys/unistd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unistd.h,v 1.13 2005/12/13 00:35:24 millert Exp $ */
+/* $OpenBSD: unistd.h,v 1.14 2008/03/16 19:56:27 kettenis Exp $ */
/* $NetBSD: unistd.h,v 1.10 1994/06/29 06:46:06 cgd Exp $ */
/*
@@ -139,6 +139,9 @@
#define _SC_THREAD_SAFE_FUNCTIONS
#endif
+#define _SC_PHYS_PAGES 500
+#define _SC_AVPHYS_PAGES 501
+
/* configurable system strings */
#define _CS_PATH 1