OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man2 / ipc.2
1 .\" Copyright (c) 1995 Michael Chastain (mec@shell.portal.com), 15 April 1995.
2 .\"
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.
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
20 .\" License along with this manual; if not, see
21 .\" <http://www.gnu.org/licenses/>.
22 .\" %%%LICENSE_END
23 .\"
24 .\" Modified Tue Oct 22 08:11:14 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
25 .TH IPC 2 2012-10-16 "Linux" "Linux Programmer's Manual"
26 .SH NAME
27 ipc \- System V IPC system calls
28 .SH SYNOPSIS
29 .nf
30 .BI "int ipc(unsigned int " call ", int " first ", int " second \
31 ", int " third ,
32 .BI "        void *" ptr ", long " fifth );
33 .fi
34 .SH DESCRIPTION
35 .BR ipc ()
36 is a common kernel entry point for the System\ V IPC calls
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
42 User programs should call the appropriate functions by their usual names.
43 Only standard library implementors and kernel hackers need to know about
44 .BR ipc ().
45 .SH CONFORMING TO
46 .BR ipc ()
47 is Linux-specific, and should not be used in programs
48 intended to be portable.
49 .SH NOTES
50 On some architectures\(emfor example x86-64 and ARM\(emthere is no
51 .BR ipc ()
52 system call; instead
53 .BR msgctl (2),
54 .BR semctl (2),
55 .BR shmctl (2),
56 and so on really are implemented as separate system calls.
57 .SH SEE ALSO
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),
65 .BR semtimedop (2),
66 .BR shmat (2),
67 .BR shmctl (2),
68 .BR shmdt (2),
69 .BR shmget (2)
70 .SH COLOPHON
71 This page is part of release 3.79 of the Linux
72 .I man-pages
73 project.
74 A description of the project,
75 information about reporting bugs,
76 and the latest version of this page,
77 can be found at
78 \%http://www.kernel.org/doc/man\-pages/.