uucplock.3 (2875419215061f767fe784f7a6f065e015daa325) uucplock.3 (134970f671699d53c137b5a6ae1f99ecaa56d573)
1.\"
2.\" Copyright (c) 1996 Brian Somers <brian@awfulhak.demon.co.uk>
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

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

18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
1.\"
2.\" Copyright (c) 1996 Brian Somers <brian@awfulhak.demon.co.uk>
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

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

18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
26.\" $Id: uucplock.3,v 1.3 1997/04/01 17:44:31 mpp Exp $
26.\" $Id: uucplock.3,v 1.4 1997/04/02 03:38:28 ache Exp $
27.\" "
28.Dd March 30, 1997
29.Os
30.Dt uucplock 3
31.Sh NAME
32.Nm uu_lock ,
33.Nm uu_unlock ,
34.Nm uu_lockerr

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

108.Dv UU_LOCK_WRITE_ERR:
109The current process id could not be written to the lock file via a call to
110.Xr write 2 .
111.Pp
112If a value of
113.Dv UU_LOCK_OK
114is passed to
115.Fn uu_lockerr ,
27.\" "
28.Dd March 30, 1997
29.Os
30.Dt uucplock 3
31.Sh NAME
32.Nm uu_lock ,
33.Nm uu_unlock ,
34.Nm uu_lockerr

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

108.Dv UU_LOCK_WRITE_ERR:
109The current process id could not be written to the lock file via a call to
110.Xr write 2 .
111.Pp
112If a value of
113.Dv UU_LOCK_OK
114is passed to
115.Fn uu_lockerr ,
116an empty string returned.
116an empty string is returned.
117Otherwise, a string specifying
118the reason for failure is returned.
119.Fn uu_lockerr
120uses the current value of
121.Va errno
122to determine the exact error. Care should be made not to allow
123.Va errno
124to be changed between calls to

--- 45 unchanged lines hidden ---
117Otherwise, a string specifying
118the reason for failure is returned.
119.Fn uu_lockerr
120uses the current value of
121.Va errno
122to determine the exact error. Care should be made not to allow
123.Va errno
124to be changed between calls to

--- 45 unchanged lines hidden ---