Module Name: src Committed By: christos Date: Fri Nov 2 21:44:52 UTC 2012
Modified Files: src/lib/libc/gen: sysconf.3 Log Message: Add _SC_PHYS_PAGES To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/lib/libc/gen/sysconf.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/gen/sysconf.3 diff -u src/lib/libc/gen/sysconf.3:1.40 src/lib/libc/gen/sysconf.3:1.41 --- src/lib/libc/gen/sysconf.3:1.40 Tue Aug 23 13:28:34 2011 +++ src/lib/libc/gen/sysconf.3 Fri Nov 2 17:44:52 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysconf.3,v 1.40 2011/08/23 17:28:34 jmcneill Exp $ +.\" $NetBSD: sysconf.3,v 1.41 2012/11/02 21:44:52 christos Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)sysconf.3 8.3 (Berkeley) 4/19/94 .\" -.Dd August 23, 2011 +.Dd November 2, 2012 .Dt SYSCONF 3 .Os .Sh NAME @@ -282,6 +282,10 @@ and The number of processors configured. .It Li _SC_NPROCESSORS_ONLN The number of processors online (capable of running processes). +.It Li _SC_PHYS_PAGES +The amount of physical memory on the system in +.Li _SC_PAGESIZE +bytes. .El .Sh RETURN VALUES If the call to