1 .\" Copyright 2020 Michael Kerrisk <mtk.manpages@gmail.com>
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .TH sysvipc 7 (date) "Linux man-pages (unreleased)"
7 sysvipc \- System V interprocess communication mechanisms
9 System V IPC is the name given to three interprocess
10 communication mechanisms that are widely available on UNIX systems:
11 message queues, semaphore, and shared memory.
14 System V message queues allow data to be exchanged in units called messages.
15 Each message can have an associated priority.
16 POSIX message queues provide an alternative API for achieving the same result;
20 The System V message queue API consists of the following system calls:
23 Create a new message queue or obtain the ID of an existing message queue.
24 This call returns an identifier that is used in the remaining APIs.
27 Add a message to a queue.
30 Remove a message from a queue.
33 Perform various control operations on a queue, including deletion.
36 System V semaphores allow processes to synchronize their actions.
37 System V semaphores are allocated in groups called sets;
38 each semaphore in a set is a counting semaphore.
39 POSIX semaphores provide an alternative API for achieving the same result;
43 The System V semaphore API consists of the following system calls:
46 Create a new set or obtain the ID of an existing set.
47 This call returns an identifier that is used in the remaining APIs.
50 Perform operations on the semaphores in a set.
53 Perform various control operations on a set, including deletion.
55 .SS Shared memory segments
56 System V shared memory allows processes to share a region a memory
58 POSIX shared memory is an alternative API for achieving the same result; see
61 The System V shared memory API consists of the following system calls:
64 Create a new segment or obtain the ID of an existing segment.
65 This call returns an identifier that is used in the remaining APIs.
68 Attach an existing shared memory object into the calling process's
72 Detach a segment from the calling process's address space.
75 Perform various control operations on a segment, including deletion.
78 For a discussion of the interaction of System V IPC objects and
80 .BR ipc_namespaces (7).
99 .BR ipc_namespaces (7)