Module Name: src Committed By: jruoho Date: Tue Apr 12 04:55:05 UTC 2011
Modified Files: src/lib/libc/gen: getloadavg.3 Log Message: Use RETURN VALUES rather than DIAGNOSTIC for... return values. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/gen/getloadavg.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/getloadavg.3 diff -u src/lib/libc/gen/getloadavg.3:1.14 src/lib/libc/gen/getloadavg.3:1.15 --- src/lib/libc/gen/getloadavg.3:1.14 Thu Aug 7 16:42:50 2003 +++ src/lib/libc/gen/getloadavg.3 Tue Apr 12 04:55:05 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: getloadavg.3,v 1.14 2003/08/07 16:42:50 agc Exp $ +.\" $NetBSD: getloadavg.3,v 1.15 2011/04/12 04:55:05 jruoho Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)getloadavg.3 8.1 (Berkeley) 6/4/93 .\" -.Dd June 4, 1993 +.Dd April 12, 2011 .Dt GETLOADAVG 3 .Os .Sh NAME @@ -52,7 +52,7 @@ .Fa loadavg Ns Bq . The system imposes a maximum of 3 samples, representing averages over the last 1, 5, and 15 minutes, respectively. -.Sh DIAGNOSTICS +.Sh RETURN VALUES If the load average was unobtainable, \-1 is returned; otherwise, the number of samples actually retrieved is returned. .Sh SEE ALSO