Deleted Added
full compact
semctl.2 (108087) semctl.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/semctl.2 108087 2002-12-19 09:40:28Z ru $
26.\" $FreeBSD: head/lib/libc/sys/semctl.2 131504 2004-07-02 23:52:20Z ru $
27.\"
28.Dd September 12, 1995
29.Dt SEMCTL 2
30.Os
31.Sh NAME
32.Nm semctl
33.Nd control operations on a semaphore set
34.Sh LIBRARY

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

90.Fa arg.buf .
91The calling process's effective uid must
92match either
93.Fa sem_perm.uid
94or
95.Fa sem_perm.cuid ,
96or it must have superuser privileges.
97.It IPC_RMID
27.\"
28.Dd September 12, 1995
29.Dt SEMCTL 2
30.Os
31.Sh NAME
32.Nm semctl
33.Nd control operations on a semaphore set
34.Sh LIBRARY

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

90.Fa arg.buf .
91The calling process's effective uid must
92match either
93.Fa sem_perm.uid
94or
95.Fa sem_perm.cuid ,
96or it must have superuser privileges.
97.It IPC_RMID
98Immediately removes the semaphore set from the system. The calling
98Immediately removes the semaphore set from the system.
99The calling
99process's effective uid must equal the semaphore set's
100.Fa sem_perm.uid
101or
102.Fa sem_perm.cuid ,
103or the process must have superuser privileges.
104.It Dv GETVAL
105Return the value of semaphore number
106.Fa semnum .

--- 96 unchanged lines hidden ---
100process's effective uid must equal the semaphore set's
101.Fa sem_perm.uid
102or
103.Fa sem_perm.cuid ,
104or the process must have superuser privileges.
105.It Dv GETVAL
106Return the value of semaphore number
107.Fa semnum .

--- 96 unchanged lines hidden ---