From b3237a11f6bed062af5f93c71908030b767e256c Mon Sep 17 00:00:00 2001 From: bdrewery Date: Thu, 12 Sep 2013 00:53:38 +0000 Subject: Consistently reference file descriptors as "fd". 55 other manpages used "fd", while these used "d" and "filedes". MFC after: 1 week Approved by: gjb Approved by: re (delphij) --- lib/libc/gen/lockf.3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/libc/gen/lockf.3') diff --git a/lib/libc/gen/lockf.3 b/lib/libc/gen/lockf.3 index d9350d1..a4adcfa 100644 --- a/lib/libc/gen/lockf.3 +++ b/lib/libc/gen/lockf.3 @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 19, 1997 +.Dd September 11, 2013 .Dt LOCKF 3 .Os .Sh NAME @@ -40,7 +40,7 @@ .Sh SYNOPSIS .In unistd.h .Ft int -.Fn lockf "int filedes" "int function" "off_t size" +.Fn lockf "int fd" "int function" "off_t size" .Sh DESCRIPTION The .Fn lockf @@ -52,7 +52,7 @@ either return an error value or block until the section becomes unlocked. All the locks for a process are removed when the process terminates. .Pp The argument -.Fa filedes +.Fa fd is an open file descriptor. The file descriptor must have been opened either for write-only .Dv ( O_WRONLY ) @@ -207,7 +207,7 @@ or and the section is already locked by another process. .It Bq Er EBADF The argument -.Fa filedes +.Fa fd is not a valid open file descriptor. .Pp The argument @@ -217,7 +217,7 @@ is or .Dv F_TLOCK , and -.Fa filedes +.Fa fd is not a valid file descriptor open for writing. .It Bq Er EDEADLK The argument @@ -243,7 +243,7 @@ or .Dv F_TEST . .Pp The argument -.Fa filedes +.Fa fd refers to a file that does not support locking. .It Bq Er ENOLCK The argument -- cgit v1.1