Subject: lib/16776: return type is missing in getloadavg(3) manpage
To: None <gnats-bugs@gnats.netbsd.org>
From: KAWAKUBO Hiroshi <kawakubo@indiscipline.com>
List: netbsd-bugs
Date: 05/13/2002 00:45:18
>Number:         16776
>Category:       lib
>Synopsis:       return type is missing in getloadavg(3) manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 12 08:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KAWAKUBO Hiroshi
>Release:        NetBSD 1.5ZC (2002-05-08)
>Organization:
>Environment:
>Description:
The getloadavg(3) manpage lacks the return type in SYNOPSIS.

>How-To-Repeat:
man getloadavg

>Fix:
--- lib/libc/gen/getloadavg.3.orig	Tue Mar  5 05:45:53 2002
+++ lib/libc/gen/getloadavg.3	Sun May 12 13:57:23 2002
@@ -43,6 +43,7 @@
 .Lb libc
 .Sh SYNOPSIS
 .Fd #include \*[Lt]stdlib.h\*[Gt]
+.Ft int
 .Fn getloadavg "double loadavg[]" "int nelem"
 .Sh DESCRIPTION
 The
>Release-Note:
>Audit-Trail:
>Unformatted: