diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-07-11 09:13:12 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-07-11 09:13:12 +0000 |
commit | 4bc6a387c22aa9e3c0344554005f2394db575b13 (patch) | |
tree | 206baa92baf082e97ad39990cf628c3e57e1117d /share/man/man9/BUF_LOCK.9 | |
parent | 80d569d3b0f982e78450160b05ed287522111a79 (diff) | |
download | src-4bc6a387c22aa9e3c0344554005f2394db575b13.tar.gz src-4bc6a387c22aa9e3c0344554005f2394db575b13.zip |
mdoc(7) police: fixed markup.
Notes
Notes:
svn path=/head/; revision=79581
Diffstat (limited to 'share/man/man9/BUF_LOCK.9')
-rw-r--r-- | share/man/man9/BUF_LOCK.9 | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/share/man/man9/BUF_LOCK.9 b/share/man/man9/BUF_LOCK.9 index 289e72d80e46..9cb929b6ad05 100644 --- a/share/man/man9/BUF_LOCK.9 +++ b/share/man/man9/BUF_LOCK.9 @@ -31,33 +31,42 @@ .Os .Sh NAME .Nm BUF_LOCK -.Nd "Locks a buffer" +.Nd "locks a buffer" .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/buf.h> +.In sys/param.h +.In sys/buf.h .Ft int .Fn BUF_LOCK "struct buf *bp" "int locktype" .Sh DESCRIPTION The -.Nm -function locks the given buffer. If the lock is already held this -call will block until it can aquire the lock unless LK_NOWAIT is -set. +.Fn BUF_LOCK +function locks the given buffer. +If the lock is already held this +call will block until it can aquire the lock unless +.Dv LK_NOWAIT +is set. .Pp Its arguments are: -.Bl -tag -width locktype -.It Ar bp +.Bl -tag -xwidth ".Fa locktype" +.It Fa bp The buffer to lock. -.It Ar locktype -Flags controlling the type of lock. See lockmgr(9) for details. +.It Fa locktype +Flags controlling the type of lock. +See +.Xr lockmgr 9 +for details. .El .Sh RETURN VALUES -A value of 0 is returned upon success. See lockmgr(9) for +A value of 0 is returned upon success. +See +.Xr lockmgr 9 +for information on non-zero return values. .Sh SEE ALSO -.Xr buf 9 +.Xr buf 9 , +.Xr BUF_TIMELOCK 9 , +.Xr BUF_UNLOCK 9 , .Xr lockmgr 9 -.Xr BUF_UNLOCK 9 -.Xr BUF_TIMELOCK 9 .Sh AUTHORS -This man page was written by Chad David. +This man page was written by +.An Chad David . |