summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/getfh.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/getfh.2')
-rw-r--r--lib/libc/sys/getfh.210
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libc/sys/getfh.2 b/lib/libc/sys/getfh.2
index ab73d5a..04f19cd 100644
--- a/lib/libc/sys/getfh.2
+++ b/lib/libc/sys/getfh.2
@@ -38,7 +38,7 @@
.Nm getfh
.Nd get file handle
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
+.Fd #include <sys/param.h>
.Fd #include <sys/mount.h>
.Ft int
.Fn getfh "char *path" "fhandle_t *fhp"
@@ -61,9 +61,6 @@ fails if one or more of the following are true:
A component of the path prefix of
.Fa path
is not a directory.
-.It Bq EINVAL
-.Fa path
-contains a character with the high-order bit set.
.It Bq ENAMETOOLONG
The length of a component of
.Fa path
@@ -91,6 +88,7 @@ error occurred while reading from or writing to the file system.
.El
.Sh HISTORY
The
-.Nm getfh
+.Fn getfh
function
-first appeared in 4.4BSD.
+first appeared in
+.Bx 4.4 .
OpenPOWER on IntegriCloud