summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2008-03-25 12:04:48 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2008-03-25 12:04:48 +0000
commit9b6e772d71ffaa9db99cb16d4672fbc5a71e8a7c (patch)
tree155faa8e19e72f729739a677b0eb4a53b0944661
parentafeb5e1af921efffe2608ce7680340083fa891de (diff)
be more explicit about the unit used for the f_b* fields; prompted by
and ok djm@
-rw-r--r--lib/libc/gen/statvfs.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/gen/statvfs.3 b/lib/libc/gen/statvfs.3
index 24b3e259404..8768ef3c7e4 100644
--- a/lib/libc/gen/statvfs.3
+++ b/lib/libc/gen/statvfs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: statvfs.3,v 1.3 2008/03/25 06:01:26 otto Exp $
+.\" $OpenBSD: statvfs.3,v 1.4 2008/03/25 12:04:47 otto Exp $
.\" $NetBSD: statfs.2,v 1.10 1995/06/29 11:40:48 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -71,6 +71,11 @@ struct statvfs {
#define ST_NOSUID 0x0002UL /* nosuid flag set */
.Ed
.Pp
+The fields of type
+.Va fsblkcnt_t
+are reported in units of
+.Va f_frsize .
+.Pp
.Fn fstatvfs
returns the same information about an open file referenced by descriptor
.Fa fd .