VOP_ADVLOCK.9: fix description of flags
* F_RDLCK, F_UNLCK, and F_WRLCK aren't flags. They're stored in the fl.l_type field. * Add F_REMOTE, added in r177633 * Add F_NOINTR, added in r180025 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
8a5969801d
commit
2b3899c0ee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348316
@ -28,7 +28,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd June 30, 1999
|
.Dd May 27, 2019
|
||||||
.Dt VOP_ADVLOCK 9
|
.Dt VOP_ADVLOCK 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -56,13 +56,7 @@ Description of the lock.
|
|||||||
.It Fa flags
|
.It Fa flags
|
||||||
One of more of the following:
|
One of more of the following:
|
||||||
.Pp
|
.Pp
|
||||||
.Bl -tag -width ".Dv F_UNLCK" -offset indent -compact
|
.Bl -tag -width ".Dv F_REMOTE" -offset indent -compact
|
||||||
.It Dv F_RDLCK
|
|
||||||
Shared or read lock.
|
|
||||||
.It Dv F_UNLCK
|
|
||||||
Unlock.
|
|
||||||
.It Dv F_WRLCK
|
|
||||||
Exclusive or write lock.
|
|
||||||
.It Dv F_WAIT
|
.It Dv F_WAIT
|
||||||
Wait until lock is granted.
|
Wait until lock is granted.
|
||||||
.It Dv F_FLOCK
|
.It Dv F_FLOCK
|
||||||
@ -71,6 +65,10 @@ Use
|
|||||||
semantics for lock.
|
semantics for lock.
|
||||||
.It Dv F_POSIX
|
.It Dv F_POSIX
|
||||||
Use POSIX semantics for lock.
|
Use POSIX semantics for lock.
|
||||||
|
.It Dv F_REMOTE
|
||||||
|
Lock owner is remote NFS client.
|
||||||
|
.It Dv F_NOINTR
|
||||||
|
Mask signals while waiting for the lock.
|
||||||
.El
|
.El
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
|
Loading…
Reference in New Issue
Block a user