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.212
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/libc/sys/getfh.2 b/lib/libc/sys/getfh.2
index ab73d5a..44ac7e7 100644
--- a/lib/libc/sys/getfh.2
+++ b/lib/libc/sys/getfh.2
@@ -38,10 +38,10 @@
.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"
+.Fn getfh "const char *path" "fhandle_t *fhp"
.Sh DESCRIPTION
.Fn Getfh
returns a file handle for the specified file or directory
@@ -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