1IPC(2) Linux Programmer's Manual IPC(2)
2
3
4
6 ipc - System V IPC system calls
7
9 int ipc(unsigned int call, int first, int second, int third,
10 void *ptr, long fifth);
11
13 ipc() is a common kernel entry point for the System V IPC calls for
14 messages, semaphores, and shared memory. call determines which IPC
15 function to invoke; the other arguments are passed through to the ap‐
16 propriate call.
17
18 User-space programs should call the appropriate functions by their
19 usual names. Only standard library implementors and kernel hackers
20 need to know about ipc().
21
23 ipc() is Linux-specific, and should not be used in programs intended to
24 be portable.
25
27 On some architectures—for example x86-64 and ARM—there is no ipc() sys‐
28 tem call; instead, msgctl(2), semctl(2), shmctl(2), and so on really
29 are implemented as separate system calls.
30
32 msgctl(2), msgget(2), msgrcv(2), msgsnd(2), semctl(2), semget(2), se‐
33 mop(2), semtimedop(2), shmat(2), shmctl(2), shmdt(2), shmget(2),
34 sysvipc(7)
35
37 This page is part of release 5.10 of the Linux man-pages project. A
38 description of the project, information about reporting bugs, and the
39 latest version of this page, can be found at
40 https://www.kernel.org/doc/man-pages/.
41
42
43
44Linux 2019-08-02 IPC(2)