OSDN Git Service

Check in released NDK version r4.
[android-x86/prebuilt.git] / ndk / android-ndk-r4 / darwin / platforms / android-4 / arch-arm / usr / include / asm-generic / ipc.h
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ****************************************************************************
11  ****************************************************************************/
12 #ifndef _ASM_GENERIC_IPC_H
13 #define _ASM_GENERIC_IPC_H
14
15 struct ipc_kludge {
16  struct msgbuf __user *msgp;
17  long msgtyp;
18 };
19
20 #define SEMOP 1
21 #define SEMGET 2
22 #define SEMCTL 3
23 #define SEMTIMEDOP 4
24 #define MSGSND 11
25 #define MSGRCV 12
26 #define MSGGET 13
27 #define MSGCTL 14
28 #define SHMAT 21
29 #define SHMDT 22
30 #define SHMGET 23
31 #define SHMCTL 24
32
33 #define DIPC 25
34
35 #define IPCCALL(version,op) ((version)<<16 | (op))
36
37 #endif