OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / original / man2 / ipc.2
1 .\" Hey Emacs! This file is -*- nroff -*- source.
2 .\"
3 .\" Copyright (c) 1995 Michael Chastain (mec@shell.portal.com), 15 April 1995.
4 .\"
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
9 .\"
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
14 .\"
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 .\" GNU General Public License for more details.
19 .\"
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual; if not, write to the Free
22 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
23 .\" USA.
24 .\"
25 .\" Modified Tue Oct 22 08:11:14 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
26 .TH IPC 2 2007-06-28 "Linux" "Linux Programmer's Manual"
27 .SH NAME
28 ipc \- System V IPC system calls
29 .SH SYNOPSIS
30 .nf
31 .BI "int ipc(unsigned int " call ", int " first ", int " second \
32 ", int " third ,
33 .BI "        void *" ptr ", long " fifth );
34 .fi
35 .SH DESCRIPTION
36 .BR ipc ()
37 is a common kernel entry point for the System V IPC calls
38 for messages, semaphores, and shared memory.
39 .I call
40 determines which IPC function to invoke;
41 the other arguments are passed through to the appropriate call.
42 .PP
43 User programs should call the appropriate functions by their usual names.
44 Only standard library implementors and kernel hackers need to know about
45 .BR ipc ().
46 .SH "CONFORMING TO"
47 .BR ipc ()
48 is Linux-specific, and should not be used in programs
49 intended to be portable.
50 .SH NOTES
51 On a few architectures, for example ia64, there is no
52 .BR ipc ()
53 system call; instead
54 .BR msgctl (2),
55 .BR semctl (2),
56 .BR shmctl (2),
57 and so on really are implemented as separate system calls.
58 .SH "SEE ALSO"
59 .BR msgctl (2),
60 .BR msgget (2),
61 .BR msgrcv (2),
62 .BR msgsnd (2),
63 .BR semctl (2),
64 .BR semget (2),
65 .BR semop (2),
66 .BR semtimedop (2),
67 .BR shmat (2),
68 .BR shmctl (2),
69 .BR shmdt (2),
70 .BR shmget (2)