summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getfsstat.2
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-06-29 14:10:33 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-06-29 14:10:33 +0000
commit56f6529fc36c6db13ad6ff247464d6b0c9e0d023 (patch)
tree370910d2e05f30a3e4f78b5160a518c3222aa9f9 /lib/libc/sys/getfsstat.2
parent7e10459e58879c6c2e91c7f14687227390272c68 (diff)
- change references to nil to null; tschroed@acm.org
- remove trailing spaces from end of lines - add some .Dv - change -1 to \-1, so `-' is taken as a negative sign - other misc formatting fixes
Diffstat (limited to 'lib/libc/sys/getfsstat.2')
-rw-r--r--lib/libc/sys/getfsstat.29
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2
index 14af7552c33..dc241f9764d 100644
--- a/lib/libc/sys/getfsstat.2
+++ b/lib/libc/sys/getfsstat.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getfsstat.2,v 1.9 1999/06/01 15:32:53 millert Exp $
+.\" $OpenBSD: getfsstat.2,v 1.10 1999/06/29 14:09:58 aaron Exp $
.\" $NetBSD: getfsstat.2,v 1.6 1995/06/29 11:40:44 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -87,7 +87,8 @@ up to the size specified by
.Pp
If
.Fa buf
-is given as NULL,
+is
+.Dv NULL ,
.Fn getfsstat
returns just the number of mounted file systems.
.Pp
@@ -107,10 +108,10 @@ Thus, some of the information will be out of date, but
will not block waiting for information from a file system that is
unable to respond.
.Sh RETURN VALUES
-Upon successful completion, the number of
+Upon successful completion, the number of
.Fa statfs
structures is returned.
-Otherwise, -1 is returned and the global variable
+Otherwise, \-1 is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS