1 .\" Copyright (c) 1995 Michael Chastain (mec@shell.portal.com), 15 April 1995.
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\" Modified Tue Oct 22 08:11:14 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
6 .TH ipc 2 (date) "Linux man-pages (unreleased)"
8 ipc \- System V IPC system calls
11 .RI ( libc ", " \-lc )
14 .BR "#include <linux/ipc.h>" " /* Definition of needed constants */"
15 .BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
16 .B #include <unistd.h>
18 .BI "int syscall(SYS_ipc, unsigned int " call ", int " first ,
19 .BI " unsigned long " second ", unsigned long " third \
25 glibc provides no wrapper for
27 necessitating the use of
31 is a common kernel entry point for the System\ V IPC calls
32 for messages, semaphores, and shared memory.
34 determines which IPC function to invoke;
35 the other arguments are passed through to the appropriate call.
37 User-space programs should call the appropriate functions by their usual names.
38 Only standard library implementors and kernel hackers need to know about
41 On some architectures\[em]for example x86-64 and ARM\[em]there is no
47 and so on really are implemented as separate system calls.