diff options
author | ru <ru@FreeBSD.org> | 2001-07-11 09:13:12 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-07-11 09:13:12 +0000 |
commit | a6a8d8e94c3416ac2be5564086b6711fab5cf1fb (patch) | |
tree | 206baa92baf082e97ad39990cf628c3e57e1117d /share/man/man9/BUF_TIMELOCK.9 | |
parent | a6c5eadb9c2c57714a0ec47fc78094e5e3e61bf7 (diff) | |
download | FreeBSD-src-a6a8d8e94c3416ac2be5564086b6711fab5cf1fb.zip FreeBSD-src-a6a8d8e94c3416ac2be5564086b6711fab5cf1fb.tar.gz |
mdoc(7) police: fixed markup.
Diffstat (limited to 'share/man/man9/BUF_TIMELOCK.9')
-rw-r--r-- | share/man/man9/BUF_TIMELOCK.9 | 48 |
1 files changed, 27 insertions, 21 deletions
diff --git a/share/man/man9/BUF_TIMELOCK.9 b/share/man/man9/BUF_TIMELOCK.9 index 067e9dd..cb029ee 100644 --- a/share/man/man9/BUF_TIMELOCK.9 +++ b/share/man/man9/BUF_TIMELOCK.9 @@ -31,44 +31,50 @@ .Os .Sh NAME .Nm BUF_TIMELOCK -.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_TIMELOCK "struct buf *bp" "int locktype" "char *wmesg" "int catch" "int timo" .Sh DESCRIPTION The -.Nm +.Fn BUF_TIMELOCK function locks the given buffer, and limits the amount of time it will sleep to -.Ar timo +.Fa timo and OR's -.Ar catch +.Fa catch into the sleep priority. -.Ar wmesg +.Fa wmesg is the wmesg used in the sleep. .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 Ar wmesg +.It Fa locktype +Flags controlling the type of lock. +See +.Xr lockmgr 9 +for details. +.It Fa wmesg The wmesg used in any sleeps while aquiring the lock. -.It Ar catch +.It Fa catch Priority OR'd into the sleep priority. -.It Ar timo +.It Fa timo The timeout for any sleeps encountered during the lock. .El -.Sh RETURN VALUE -A value of 0 is returned on success. See lockmgr(9) for -details on non-zero return values. +.Sh RETURN VALUES +A value of 0 is returned on success. +See +.Xr lockmgr 9 +for details on non-zero return values. .Sh SEE ALSO -.Xr buf 9 +.Xr buf 9 , +.Xr BUF_LOCK 9 , +.Xr BUF_UNLOCK 9 , .Xr lockmgr 9 -.Xr BUF_LOCK 9 -.Xr BUF_UNLOCK 9 .Sh AUTHORS -This man page was written by Chad David. +This man page was written by +.An Chad David . |