Deleted Added
full compact
semget.2 (108087) semget.2 (131504)
1.\"
2.\" Copyright (c) 1995 David Hovemeyer <daveho@infocom.com>
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) 1995 David Hovemeyer <daveho@infocom.com>
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.\" $FreeBSD: head/lib/libc/sys/semget.2 108087 2002-12-19 09:40:28Z ru $
26.\" $FreeBSD: head/lib/libc/sys/semget.2 131504 2004-07-02 23:52:20Z ru $
27.\"
28.Dd September 12, 1995
29.Dt SEMGET 2
30.Os
31.Sh NAME
32.Nm semget
33.Nd obtain a semaphore id
34.Sh LIBRARY

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

48returns the identifier of a newly created or previously existing
49set of semaphores.
50.\"
51.\" This is copied verbatim from the shmget manpage. Perhaps
52.\" it should go in a common manpage, such as .Xr ipc 2
53.\"
54The key
55is analogous to a filename: it provides a handle that names an
27.\"
28.Dd September 12, 1995
29.Dt SEMGET 2
30.Os
31.Sh NAME
32.Nm semget
33.Nd obtain a semaphore id
34.Sh LIBRARY

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

48returns the identifier of a newly created or previously existing
49set of semaphores.
50.\"
51.\" This is copied verbatim from the shmget manpage. Perhaps
52.\" it should go in a common manpage, such as .Xr ipc 2
53.\"
54The key
55is analogous to a filename: it provides a handle that names an
56IPC object. There are three ways to specify a key:
56IPC object.
57There are three ways to specify a key:
57.Bl -bullet
58.It
59IPC_PRIVATE may be specified, in which case a new IPC object
60will be created.
61.It
58.Bl -bullet
59.It
60IPC_PRIVATE may be specified, in which case a new IPC object
61will be created.
62.It
62An integer constant may be specified. If no IPC object corresponding
63An integer constant may be specified.
64If no IPC object corresponding
63to
64.Fa key
65is specified and the IPC_CREAT bit is set in
66.Fa flag ,
67a new one will be created.
68.It
69The
70.Xr ftok 3

--- 76 unchanged lines hidden ---
65to
66.Fa key
67is specified and the IPC_CREAT bit is set in
68.Fa flag ,
69a new one will be created.
70.It
71The
72.Xr ftok 3

--- 76 unchanged lines hidden ---