Subject: misc/2677: manual page tweaks for statfs() and getfstat()
To: None <gnats-bugs@NetBSD.ORG>
From: Kenneth Stailey <kstailey@dol-esa.gov>
List: netbsd-bugs
Date: 08/07/1996 10:26:59
>Number: 2677
>Category: misc
>Synopsis: manual page tweaks for statfs() and getfstat()
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 7 10:50:02 1996
>Last-Modified:
>Originator: Kenneth Stailey
>Organization:
DOL/ESA/DASM
>Release: 1.2_BETA
>Environment:
System: NetBSD owl 1.2_BETA NetBSD 1.2_BETA (OWL) #0: Mon Jul 15 23:55:53 EDT 1996 kstailey@owl:/usr/src/sys/arch/i386/compile/OWL i386
>Description:
Data type "struct statfs" referred to in two different ways in the two manual
pages (I picked the one that looks less like a function.)
Description of return value from getfstat() sort of implies array (I made it
state that it was an array.)
>How-To-Repeat:
read manual pages for statf(2) and getfstat(2)
>Fix:
patches for src/lib/libc/sys
--- statfs.2.DIST Wed Aug 7 09:47:45 1996
+++ statfs.2 Wed Aug 7 09:48:03 1996
@@ -52,9 +52,7 @@
.Fa Path
is the path name of any file within the mounted file system.
.Fa Buf
-is a pointer to a
-.Fn statfs
-structure defined as follows:
+is a pointer to a statfs structure defined as follows:
.Bd -literal
typedef struct { int32_t val[2]; } fsid_t;
--- getfsstat.2.DIST Wed Aug 7 09:46:08 1996
+++ getfsstat.2 Wed Aug 7 09:46:24 1996
@@ -49,7 +49,7 @@
.Fn Getfsstat
returns information about all mounted file systems.
.Fa Buf
-is a pointer to
+is a pointer to an array of
.Xr statfs
structures defined as follows:
.Bd -literal
>Audit-Trail:
>Unformatted: