uucplock.3 (b5ebf1f5cde72e225f8bf989d82e7d8a1d9ebb45) uucplock.3 (2875419215061f767fe784f7a6f065e015daa325)
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.2 1997/03/31 22:47:53 brian Exp $
26.\" $Id: uucplock.3,v 1.3 1997/04/01 17:44:31 mpp 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 ,
116a
117.Dv NULL
118pointer is returned. If a value of
119.Dv UU_LOCK_INUSE
120is passed, an empty string is returned. Otherwise, a string specifying
116an empty string returned.
117Otherwise, a string specifying
121the reason for failure is returned.
122.Fn uu_lockerr
123uses the current value of
124.Va errno
125to determine the exact error. Care should be made not to allow
126.Va errno
127to be changed between calls to
128.Fn uu_lock

--- 44 unchanged lines hidden ---
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
125.Fn uu_lock

--- 44 unchanged lines hidden ---