Deleted Added
full compact
ftok.3 (105446) ftok.3 (131504)
1.\" Copyright (c) 1994 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
2.\" 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.

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

18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
19.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
21.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
22.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
24.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
1.\" Copyright (c) 1994 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
2.\" 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.

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

18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
19.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
21.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
22.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
24.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/lib/libc/gen/ftok.3 105446 2002-10-19 13:33:12Z tjr $
26.\" $FreeBSD: head/lib/libc/gen/ftok.3 131504 2004-07-02 23:52:20Z ru $
27.Dd June 24, 1994
28.Os
29.Dt FTOK 3
30.Sh NAME
31.Nm ftok
32.Nd create IPC identifier from path name
33.Sh LIBRARY
34.Lb libc

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

48functions given the
49.Fa path
50of an existing file and a user-selectable
51.Fa id .
52.Pp
53The specified
54.Fa path
55must specify an existing file that is accessible to the calling process
27.Dd June 24, 1994
28.Os
29.Dt FTOK 3
30.Sh NAME
31.Nm ftok
32.Nd create IPC identifier from path name
33.Sh LIBRARY
34.Lb libc

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

48functions given the
49.Fa path
50of an existing file and a user-selectable
51.Fa id .
52.Pp
53The specified
54.Fa path
55must specify an existing file that is accessible to the calling process
56or the call will fail. Also, note that links to files will return the
56or the call will fail.
57Also, note that links to files will return the
57same key, given the same
58.Fa id .
59.Sh RETURN VALUES
60The
61.Fn ftok
62function will return -1 if
63.Fa path
64does not exist or if it cannot be accessed by the calling process.

--- 18 unchanged lines hidden ---
58same key, given the same
59.Fa id .
60.Sh RETURN VALUES
61The
62.Fn ftok
63function will return -1 if
64.Fa path
65does not exist or if it cannot be accessed by the calling process.

--- 18 unchanged lines hidden ---