Better mdoc.

This commit is contained in:
wiz 2002-09-24 23:58:54 +00:00
parent e5f61afd9e
commit 8b0828d5b2

View File

@ -1,4 +1,4 @@
.\" $NetBSD: fcntl.2,v 1.23 2002/09/17 21:35:37 christos Exp $
.\" $NetBSD: fcntl.2,v 1.24 2002/09/24 23:58:54 wiz Exp $
.\"
.\" Copyright (c) 1983, 1993
.\" The Regents of the University of California. All rights reserved.
@ -213,11 +213,11 @@ As specified by the value of
.Fa l_type ,
.Dv F_SETLK
is used to establish shared (or read) locks
.Dv (F_RDLCK)
.Pq Dv F_RDLCK
or exclusive (or write) locks,
.Dv (F_WRLCK) ,
.Pq Dv F_WRLCK ,
as well as remove either type of lock
.Dv (F_UNLCK) .
.Pq Dv F_UNLCK .
If a shared or exclusive lock cannot be set,
.Nm
returns immediately with
@ -347,7 +347,7 @@ to their children.
Note that
.Xr flock 2
and
.Xr fcntl 2
.Nm
locks may be safely used concurrently.
.Pp
All locks associated with a file for a given process are
@ -389,11 +389,11 @@ The argument
is
.Dv F_SETLK ,
the type of lock
.Fa (l_type)
.Pq Fa l_type
is a shared lock
.Dv (F_RDLCK)
.Pq Dv F_RDLCK
or exclusive lock
.Dv (F_WRLCK) ,
.Pq Dv F_WRLCK ,
and the segment of a file to be locked is already
exclusive-locked by another process;
or the type is an exclusive lock and some portion of the
@ -410,9 +410,9 @@ is
or
.Dv F_SETLKW ,
the type of lock
.Fa (l_type)
.Pq Fa l_type
is a shared lock
.Dv (F_RDLCK) ,
.Pq Dv F_RDLCK ,
and
.Fa fildes
is not a valid file descriptor open for reading.
@ -424,9 +424,9 @@ is
or
.Dv F_SETLKW ,
the type of lock
.Fa (l_type)
.Pq Fa l_type
is an exclusive lock
.Dv (F_WRLCK) ,
.Pq Dv F_WRLCK ,
and
.Fa fildes
is not a valid file descriptor open for writing.