aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/getfsstat.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/getfsstat.2')
-rw-r--r--lib/libc/sys/getfsstat.210
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2
index d25610b88bff..c9bd8dccac3e 100644
--- a/lib/libc/sys/getfsstat.2
+++ b/lib/libc/sys/getfsstat.2
@@ -47,7 +47,9 @@
.Ft int
.Fn getfsstat "struct statfs *buf" "long bufsize" "int flags"
.Sh DESCRIPTION
-.Fn Getfsstat
+The
+.Fn getfsstat
+system call
returns information about all mounted file systems.
.Fa Buf
is a pointer to
@@ -152,7 +154,9 @@ Otherwise, -1 is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
-.Fn Getfsstat
+The
+.Fn getfsstat
+system call
fails if one or more of the following are true:
.Bl -tag -width Er
.It Bq Er EFAULT
@@ -170,5 +174,5 @@ error occurred while reading from or writing to the file system.
.Sh HISTORY
The
.Fn getfsstat
-function first appeared in
+system call first appeared in
.Bx 4.4 .