source: vendor/emx/current/include/sys/ipc.h

Last change on this file was 18, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 616 bytes
Line 
1/* sys/ipc.h (emx+gcc) */
2
3#ifndef _SYS_IPC_H
4#define _SYS_IPC_H
5
6#if !defined (_KEY_T)
7#define _KEY_T
8typedef long key_t;
9#endif
10
11#if !defined (_IPC_PERM)
12#define _IPC_PERM
13struct ipc_perm
14{
15 unsigned short uid;
16 unsigned short gid;
17 unsigned short cuid;
18 unsigned short cgid;
19 unsigned short mode;
20 unsigned short seq;
21 key_t key;
22};
23#endif
24
25#if !defined (IPC_CREAT)
26#define IPC_CREAT 0x0200
27#define IPC_EXCL 0x0400
28#define IPC_NOWAIT 0x0800
29#define IPC_ALLOC 0x8000
30
31#define IPC_PRIVATE (key_t)0
32
33#define IPC_RMID 0
34#define IPC_SET 1
35#define IPC_STAT 2
36#endif
37
38#endif /* not SYS_IPC_H */
Note: See TracBrowser for help on using the repository browser.