Loading...
emulated/statvfs.3 Libc-391.5.21 Libc-1669.60.4
--- Libc/Libc-391.5.21/emulated/statvfs.3
+++ Libc/Libc-1669.60.4/emulated/statvfs.3
@@ -32,17 +32,23 @@
 .Dt STATVFS 3
 .Os
 .Sh NAME
-.Nm statvfs ,
-.Nm fstatvfs
+.Nm fstatvfs ,
+.Nm statvfs
 .Nd retrieve file system information
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
 .In sys/statvfs.h
 .Ft int
-.Fn statvfs "const char * restrict path" "struct statvfs * restrict buf"
+.Fo fstatvfs
+.Fa "int fildes"
+.Fa "struct statvfs *buf"
+.Fc
 .Ft int
-.Fn fstatvfs "int fd" "struct statvfs *buf"
+.Fo statvfs
+.Fa "const char *restrict path"
+.Fa "struct statvfs *restrict buf"
+.Fc
 .Sh DESCRIPTION
 The
 .Fn statvfs
@@ -135,10 +141,21 @@
 .Fn statvfs
 function fails if one or more of the following are true:
 .Bl -tag -width Er
-.It Bq Er ENOTDIR
-A component of the path prefix of
-.Fa Path
-is not a directory.
+.It Bq Er EACCES
+Search permission is denied for a component of the path prefix of
+.Fa path .
+.It Bq Er EFAULT
+.Fa Buf
+or
+.Fa path
+points to an invalid address.
+.It Bq Er EIO
+An
+.Tn I/O
+error occurred while reading from or writing to the file system.
+.It Bq Er ELOOP
+Too many symbolic links were encountered in translating
+.Fa path .
 .It Bq Er ENAMETOOLONG
 The length of a component of
 .Fa path
@@ -153,21 +170,10 @@
 The file referred to by
 .Fa path
 does not exist.
-.It Bq Er EACCES
-Search permission is denied for a component of the path prefix of
-.Fa path .
-.It Bq Er ELOOP
-Too many symbolic links were encountered in translating
-.Fa path .
-.It Bq Er EFAULT
-.Fa Buf
-or
-.Fa path
-points to an invalid address.
-.It Bq Er EIO
-An
-.Tn I/O
-error occurred while reading from or writing to the file system.
+.It Bq Er ENOTDIR
+A component of the path prefix of
+.Fa Path
+is not a directory.
 .El
 .Pp
 The
@@ -175,7 +181,7 @@
 functions fails if one or more of the following are true:
 .Bl -tag -width Er
 .It Bq Er EBADF
-.Fa fd
+.Fa fildes
 is not a valid open file descriptor.
 .It Bq Er EFAULT
 .Fa Buf