From 2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 18 Dec 2002 09:22:32 +0000 Subject: mdoc(7) police: Tidy up the syscall language. Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe. --- lib/libc/sys/getfh.2 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'lib/libc/sys/getfh.2') 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 . -- cgit v1.3