summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getfh.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commit2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/getfh.2
parenta1096fe6dfb9dc2ec492a1421075a38d6d75bc02 (diff)
Notes
Diffstat (limited to 'lib/libc/sys/getfh.2')
-rw-r--r--lib/libc/sys/getfh.211
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/sys/getfh.2 b/lib/libc/sys/getfh.2
index fcaff6cf857b..c61a8c572e74 100644
--- a/lib/libc/sys/getfh.2
+++ b/lib/libc/sys/getfh.2
@@ -46,7 +46,9 @@
.Ft int
.Fn getfh "const char *path" "fhandle_t *fhp"
.Sh DESCRIPTION
-.Fn Getfh
+The
+.Fn getfh
+system call
returns a file handle for the specified file or directory
in the file handle pointed to by
.Fa fhp .
@@ -54,7 +56,9 @@ This system call is restricted to the superuser.
.Sh RETURN VALUES
.Rv -std getfh
.Sh ERRORS
-.Fn Getfh
+The
+.Fn getfh
+system call
fails if one or more of the following are true:
.Bl -tag -width Er
.It Bq Er ENOTDIR
@@ -89,6 +93,5 @@ error occurred while reading from or writing to the file system.
.Sh HISTORY
The
.Fn getfh
-function
-first appeared in
+system call first appeared in
.Bx 4.4 .