uucplock.3 (25740) | uucplock.3 (28040) |
---|---|
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.6 1997/05/11 08:50:33 davidn Exp $ | 26.\" $Id: uucplock.3,v 1.7 1997/05/12 10:36:14 brian 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 --- 59 unchanged lines hidden (view full) --- 94.Dv UU_LOCK_OPEN_ERR: 95The lock file could not be opened via 96.Xr open 2 . 97.Pp 98.Dv UU_LOCK_READ_ERR: 99The lock file could not be read via 100.Xr read 2 . 101.Pp | 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 --- 59 unchanged lines hidden (view full) --- 94.Dv UU_LOCK_OPEN_ERR: 95The lock file could not be opened via 96.Xr open 2 . 97.Pp 98.Dv UU_LOCK_READ_ERR: 99The lock file could not be read via 100.Xr read 2 . 101.Pp |
102.Dv UU_LOCK_SEEK_ERR: 103The lock file was 104.Dq stale , 105but the call to 106.Xr lseek 2 107necessary to write the current process id failed. | 102.Dv UU_LOCK_CREAT_ERR: 103Can't create temporary lock file via 104.Xr creat 2 . |
108.Pp 109.Dv UU_LOCK_WRITE_ERR: 110The current process id could not be written to the lock file via a call to 111.Xr write 2 . 112.Pp | 105.Pp 106.Dv UU_LOCK_WRITE_ERR: 107The current process id could not be written to the lock file via a call to 108.Xr write 2 . 109.Pp |
110.Dv UU_LOCK_LINK_ERR: 111Can't link temporary lock file via 112.Xr link 2 . 113.Pp 114.Dv UU_LOCK_TRY_ERR: 115Locking attempts are failed after 5 tries. 116.Pp |
|
113If a value of 114.Dv UU_LOCK_OK 115is passed to 116.Fn uu_lockerr , 117an empty string is returned. 118Otherwise, a string specifying 119the reason for failure is returned. 120.Fn uu_lockerr --- 50 unchanged lines hidden --- | 117If a value of 118.Dv UU_LOCK_OK 119is passed to 120.Fn uu_lockerr , 121an empty string is returned. 122Otherwise, a string specifying 123the reason for failure is returned. 124.Fn uu_lockerr --- 50 unchanged lines hidden --- |