Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys add _SC_PHYS_PAGES



details:   https://anonhg.NetBSD.org/src/rev/ffe274b48b21
branches:  trunk
changeset: 782437:ffe274b48b21
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 02 21:41:26 2012 +0000

description:
add _SC_PHYS_PAGES

diffstat:

 sys/sys/unistd.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r bf25c13fd190 -r ffe274b48b21 sys/sys/unistd.h
--- a/sys/sys/unistd.h  Fri Nov 02 21:38:29 2012 +0000
+++ b/sys/sys/unistd.h  Fri Nov 02 21:41:26 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unistd.h,v 1.53 2012/08/01 15:24:22 martin Exp $       */
+/*     $NetBSD: unistd.h,v 1.54 2012/11/02 21:41:26 christos Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -306,6 +306,9 @@
 /* This is implemented */
 #define        _SC_SPAWN                       86
 
+/* Extensions found in Solaris and Linux. */
+#define        _SC_PHYS_PAGES          121
+
 #ifdef _NETBSD_SOURCE
 /* Commonly provided sysconf() extensions */
 #define        _SC_NPROCESSORS_CONF    1001



Home | Main Index | Thread Index | Old Index