BUF_TIMELOCK.9 (f16b3c0de48d0b845357e7cca843f645bc3117e3) BUF_TIMELOCK.9 (b82af3f5e42ab9d848c572b3384fb389fd855ecc)
1.\"
2.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice(s), this list of conditions and the following disclaimer as

--- 48 unchanged lines hidden (view full) ---

57.It Fa bp
58The buffer to lock.
59.It Fa locktype
60Flags controlling the type of lock.
61See
62.Xr lockmgr 9
63for details.
64.It Fa wmesg
1.\"
2.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice(s), this list of conditions and the following disclaimer as

--- 48 unchanged lines hidden (view full) ---

57.It Fa bp
58The buffer to lock.
59.It Fa locktype
60Flags controlling the type of lock.
61See
62.Xr lockmgr 9
63for details.
64.It Fa wmesg
65The wmesg used in any sleeps while aquiring the lock.
65The wmesg used in any sleeps while acquiring the lock.
66.It Fa catch
67Priority OR'd into the sleep's priority.
68.It Fa timo
69The timeout for any sleeps encountered during the lock.
70.El
71.Sh RETURN VALUES
72A value of 0 is returned on success.
73See
74.Xr lockmgr 9
75for details on non-zero return values.
76.Sh SEE ALSO
77.Xr buf 9 ,
78.Xr BUF_LOCK 9 ,
79.Xr BUF_UNLOCK 9 ,
80.Xr lockmgr 9
81.Sh AUTHORS
82This man page was written by
83.An Chad David Aq davidc@acns.ab.ca .
66.It Fa catch
67Priority OR'd into the sleep's priority.
68.It Fa timo
69The timeout for any sleeps encountered during the lock.
70.El
71.Sh RETURN VALUES
72A value of 0 is returned on success.
73See
74.Xr lockmgr 9
75for details on non-zero return values.
76.Sh SEE ALSO
77.Xr buf 9 ,
78.Xr BUF_LOCK 9 ,
79.Xr BUF_UNLOCK 9 ,
80.Xr lockmgr 9
81.Sh AUTHORS
82This man page was written by
83.An Chad David Aq davidc@acns.ab.ca .