1 .\" Copyright (c) 1995 Michael Chastain (mec@shell.portal.com), 15 April 1995.
3 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
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.
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.
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.
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, see
21 .\" <http://www.gnu.org/licenses/>.
24 .\" Modified Tue Oct 22 08:11:14 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
25 .TH IPC 2 2021-03-22 "Linux" "Linux Programmer's Manual"
27 ipc \- System V IPC system calls
30 .BR "#include <linux/ipc.h>" " /* Definition of needed constants */"
31 .BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
32 .B #include <unistd.h>
34 .BI "int syscall(SYS_ipc, unsigned int " call ", int " first ,
35 .BI " unsigned long " second ", unsigned long " third \
41 glibc provides no wrapper for
43 necessitating the use of
47 is a common kernel entry point for the System\ V IPC calls
48 for messages, semaphores, and shared memory.
50 determines which IPC function to invoke;
51 the other arguments are passed through to the appropriate call.
53 User-space programs should call the appropriate functions by their usual names.
54 Only standard library implementors and kernel hackers need to know about
58 is Linux-specific, and should not be used in programs
59 intended to be portable.
61 On some architectures\(emfor example x86-64 and ARM\(emthere is no
67 and so on really are implemented as separate system calls.