]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright (c) 1995 Michael Chastain (mec@shell.portal.com), 15 April 1995. |
2 | .\" | |
1dd72f9c | 3 | .\" %%%LICENSE_START(GPLv2+_DOC_FULL) |
fea681da MK |
4 | .\" This is free documentation; you can redistribute it and/or |
5 | .\" modify it under the terms of the GNU General Public License as | |
6 | .\" published by the Free Software Foundation; either version 2 of | |
7 | .\" the License, or (at your option) any later version. | |
8 | .\" | |
9 | .\" The GNU General Public License's references to "object code" | |
10 | .\" and "executables" are to be interpreted as the output of any | |
11 | .\" document formatting or typesetting system, including | |
12 | .\" intermediate and printed output. | |
13 | .\" | |
14 | .\" This manual is distributed in the hope that it will be useful, | |
15 | .\" but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | .\" GNU General Public License for more details. | |
18 | .\" | |
19 | .\" You should have received a copy of the GNU General Public | |
c715f741 MK |
20 | .\" License along with this manual; if not, see |
21 | .\" <http://www.gnu.org/licenses/>. | |
6a8d8745 | 22 | .\" %%%LICENSE_END |
fea681da MK |
23 | .\" |
24 | .\" Modified Tue Oct 22 08:11:14 EDT 1996 by Eric S. Raymond <esr@thyrsus.com> | |
4b8c67d9 | 25 | .TH IPC 2 2017-09-15 "Linux" "Linux Programmer's Manual" |
fea681da MK |
26 | .SH NAME |
27 | ipc \- System V IPC system calls | |
28 | .SH SYNOPSIS | |
521bf584 MK |
29 | .nf |
30 | .BI "int ipc(unsigned int " call ", int " first ", int " second \ | |
c13182ef | 31 | ", int " third , |
521bf584 MK |
32 | .BI " void *" ptr ", long " fifth ); |
33 | .fi | |
fea681da | 34 | .SH DESCRIPTION |
63aa9df0 | 35 | .BR ipc () |
efbfd7ec | 36 | is a common kernel entry point for the System\ V IPC calls |
fea681da MK |
37 | for messages, semaphores, and shared memory. |
38 | .I call | |
39 | determines which IPC function to invoke; | |
40 | the other arguments are passed through to the appropriate call. | |
41 | .PP | |
cf9c3958 | 42 | User-space programs should call the appropriate functions by their usual names. |
fea681da | 43 | Only standard library implementors and kernel hackers need to know about |
63aa9df0 | 44 | .BR ipc (). |
47297adb | 45 | .SH CONFORMING TO |
60a90ecd | 46 | .BR ipc () |
8382f16d | 47 | is Linux-specific, and should not be used in programs |
fea681da | 48 | intended to be portable. |
d3989680 | 49 | .SH NOTES |
b8d5a242 | 50 | On some architectures\(emfor example x86-64 and ARM\(emthere is no |
d3989680 | 51 | .BR ipc () |
9d158688 | 52 | system call; instead, |
d3989680 MK |
53 | .BR msgctl (2), |
54 | .BR semctl (2), | |
55 | .BR shmctl (2), | |
56 | and so on really are implemented as separate system calls. | |
47297adb | 57 | .SH SEE ALSO |
fea681da MK |
58 | .BR msgctl (2), |
59 | .BR msgget (2), | |
60 | .BR msgrcv (2), | |
61 | .BR msgsnd (2), | |
62 | .BR semctl (2), | |
63 | .BR semget (2), | |
64 | .BR semop (2), | |
02a5cdc5 | 65 | .BR semtimedop (2), |
fea681da MK |
66 | .BR shmat (2), |
67 | .BR shmctl (2), | |
68 | .BR shmdt (2), | |
e3f77df9 MK |
69 | .BR shmget (2), |
70 | .BR svipc (7) |