Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Use RETURN VALUES rather than DIAGNOSTIC for......
details: https://anonhg.NetBSD.org/src/rev/5a714191ede4
branches: trunk
changeset: 764135:5a714191ede4
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue Apr 12 04:55:05 2011 +0000
description:
Use RETURN VALUES rather than DIAGNOSTIC for... return values.
diffstat:
lib/libc/gen/getloadavg.3 | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 95151e4aef3c -r 5a714191ede4 lib/libc/gen/getloadavg.3
--- a/lib/libc/gen/getloadavg.3 Tue Apr 12 04:27:02 2011 +0000
+++ b/lib/libc/gen/getloadavg.3 Tue Apr 12 04:55:05 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index