Deleted Added
full compact
lockf.1 (81622) lockf.1 (95124)
1.\"
2.\" Copyright (C) 1998 John D. Polstra. 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, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\"
2.\" Copyright (C) 1998 John D. Polstra. 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, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/usr.bin/lockf/lockf.1 81622 2001-08-14 10:01:54Z ru $
25.\" $FreeBSD: head/usr.bin/lockf/lockf.1 95124 2002-04-20 12:18:28Z charnier $
26.\"
27.Dd July 7, 1998
28.Os
29.Dt LOCKF 1
30.Sh NAME
31.Nm lockf
32.Nd execute a command while holding a file lock
33.Sh SYNOPSIS

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

96.Ar command .
97Otherwise, it returns one of the exit codes defined in
98.Xr sysexits 3 ,
99as follows:
100.Bl -tag -width F_CANTCREATX
101.It Dv EX_TEMPFAIL
102The specified lock file was already locked by another process.
103.It Dv EX_CANTCREAT
26.\"
27.Dd July 7, 1998
28.Os
29.Dt LOCKF 1
30.Sh NAME
31.Nm lockf
32.Nd execute a command while holding a file lock
33.Sh SYNOPSIS

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

96.Ar command .
97Otherwise, it returns one of the exit codes defined in
98.Xr sysexits 3 ,
99as follows:
100.Bl -tag -width F_CANTCREATX
101.It Dv EX_TEMPFAIL
102The specified lock file was already locked by another process.
103.It Dv EX_CANTCREAT
104The
104.Nm
105.Nm
106utility
105was unable to create the lock file, e.g., because of insufficient access
106privileges.
107.It Dv EX_USAGE
108There was an error on the
109.Nm
110command line.
111.It Dv EX_OSERR
112A system call (e.g., fork) failed unexpectedly.
113.El
114.Sh SEE ALSO
115.Xr flock 2 ,
116.Xr sysexits 3
117.Sh HISTORY
107was unable to create the lock file, e.g., because of insufficient access
108privileges.
109.It Dv EX_USAGE
110There was an error on the
111.Nm
112command line.
113.It Dv EX_OSERR
114A system call (e.g., fork) failed unexpectedly.
115.El
116.Sh SEE ALSO
117.Xr flock 2 ,
118.Xr sysexits 3
119.Sh HISTORY
120A
118.Nm
121.Nm
119first appeared in
122utility first appeared in
120.Fx 2.2 .
121.Sh AUTHORS
122.An John Polstra Aq jdp@polstra.com .
123.Fx 2.2 .
124.Sh AUTHORS
125.An John Polstra Aq jdp@polstra.com .