|
Packit |
7cfc04 |
.\" Copyright (c) 1995 Michael Chastain (mec@shell.portal.com), 15 April 1995.
|
|
Packit |
7cfc04 |
.\"
|
|
Packit |
7cfc04 |
.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
|
|
Packit |
7cfc04 |
.\" This is free documentation; you can redistribute it and/or
|
|
Packit |
7cfc04 |
.\" modify it under the terms of the GNU General Public License as
|
|
Packit |
7cfc04 |
.\" published by the Free Software Foundation; either version 2 of
|
|
Packit |
7cfc04 |
.\" the License, or (at your option) any later version.
|
|
Packit |
7cfc04 |
.\"
|
|
Packit |
7cfc04 |
.\" The GNU General Public License's references to "object code"
|
|
Packit |
7cfc04 |
.\" and "executables" are to be interpreted as the output of any
|
|
Packit |
7cfc04 |
.\" document formatting or typesetting system, including
|
|
Packit |
7cfc04 |
.\" intermediate and printed output.
|
|
Packit |
7cfc04 |
.\"
|
|
Packit |
7cfc04 |
.\" This manual is distributed in the hope that it will be useful,
|
|
Packit |
7cfc04 |
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
7cfc04 |
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
7cfc04 |
.\" GNU General Public License for more details.
|
|
Packit |
7cfc04 |
.\"
|
|
Packit |
7cfc04 |
.\" You should have received a copy of the GNU General Public
|
|
Packit |
7cfc04 |
.\" License along with this manual; if not, see
|
|
Packit |
7cfc04 |
.\" <http://www.gnu.org/licenses/>.
|
|
Packit |
7cfc04 |
.\" %%%LICENSE_END
|
|
Packit |
7cfc04 |
.\"
|
|
Packit |
7cfc04 |
.\" Modified Tue Oct 22 08:11:14 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
|
|
Packit |
7cfc04 |
.TH IPC 2 2017-09-15 "Linux" "Linux Programmer's Manual"
|
|
Packit |
7cfc04 |
.SH NAME
|
|
Packit |
7cfc04 |
ipc \- System V IPC system calls
|
|
Packit |
7cfc04 |
.SH SYNOPSIS
|
|
Packit |
7cfc04 |
.nf
|
|
Packit |
7cfc04 |
.BI "int ipc(unsigned int " call ", int " first ", int " second \
|
|
Packit |
7cfc04 |
", int " third ,
|
|
Packit |
7cfc04 |
.BI " void *" ptr ", long " fifth );
|
|
Packit |
7cfc04 |
.fi
|
|
Packit |
7cfc04 |
.SH DESCRIPTION
|
|
Packit |
7cfc04 |
.BR ipc ()
|
|
Packit |
7cfc04 |
is a common kernel entry point for the System\ V IPC calls
|
|
Packit |
7cfc04 |
for messages, semaphores, and shared memory.
|
|
Packit |
7cfc04 |
.I call
|
|
Packit |
7cfc04 |
determines which IPC function to invoke;
|
|
Packit |
7cfc04 |
the other arguments are passed through to the appropriate call.
|
|
Packit |
7cfc04 |
.PP
|
|
Packit |
7cfc04 |
User-space programs should call the appropriate functions by their usual names.
|
|
Packit |
7cfc04 |
Only standard library implementors and kernel hackers need to know about
|
|
Packit |
7cfc04 |
.BR ipc ().
|
|
Packit |
7cfc04 |
.SH CONFORMING TO
|
|
Packit |
7cfc04 |
.BR ipc ()
|
|
Packit |
7cfc04 |
is Linux-specific, and should not be used in programs
|
|
Packit |
7cfc04 |
intended to be portable.
|
|
Packit |
7cfc04 |
.SH NOTES
|
|
Packit |
7cfc04 |
On some architectures\(emfor example x86-64 and ARM\(emthere is no
|
|
Packit |
7cfc04 |
.BR ipc ()
|
|
Packit |
7cfc04 |
system call; instead,
|
|
Packit |
7cfc04 |
.BR msgctl (2),
|
|
Packit |
7cfc04 |
.BR semctl (2),
|
|
Packit |
7cfc04 |
.BR shmctl (2),
|
|
Packit |
7cfc04 |
and so on really are implemented as separate system calls.
|
|
Packit |
7cfc04 |
.SH SEE ALSO
|
|
Packit |
7cfc04 |
.BR msgctl (2),
|
|
Packit |
7cfc04 |
.BR msgget (2),
|
|
Packit |
7cfc04 |
.BR msgrcv (2),
|
|
Packit |
7cfc04 |
.BR msgsnd (2),
|
|
Packit |
7cfc04 |
.BR semctl (2),
|
|
Packit |
7cfc04 |
.BR semget (2),
|
|
Packit |
7cfc04 |
.BR semop (2),
|
|
Packit |
7cfc04 |
.BR semtimedop (2),
|
|
Packit |
7cfc04 |
.BR shmat (2),
|
|
Packit |
7cfc04 |
.BR shmctl (2),
|
|
Packit |
7cfc04 |
.BR shmdt (2),
|
|
Packit |
7cfc04 |
.BR shmget (2),
|
|
Packit |
7cfc04 |
.BR svipc (7)
|
|
Packit |
7cfc04 |
.SH COLOPHON
|
|
Packit |
7cfc04 |
This page is part of release 4.15 of the Linux
|
|
Packit |
7cfc04 |
.I man-pages
|
|
Packit |
7cfc04 |
project.
|
|
Packit |
7cfc04 |
A description of the project,
|
|
Packit |
7cfc04 |
information about reporting bugs,
|
|
Packit |
7cfc04 |
and the latest version of this page,
|
|
Packit |
7cfc04 |
can be found at
|
|
Packit |
7cfc04 |
\%https://www.kernel.org/doc/man\-pages/.
|