projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement POSIX asynchronous io
[oweals/musl.git]
/
include
/
sys
/
ipc.h
1
#ifndef _SYS_IPC_H
2
#define _SYS_IPC_H
3
#ifdef __cplusplus
4
extern "C" {
5
#endif
6
7
#define __NEED_uid_t
8
#define __NEED_gid_t
9
#define __NEED_mode_t
10
#define __NEED_key_t
11
12
#include <bits/alltypes.h>
13
14
#ifdef _GNU_SOURCE
15
#define __ipc_perm_key key
16
#define __ipc_perm_seq seq
17
#endif
18
19
#include <bits/ipc.h>
20
21
#define IPC_CREAT 01000
22
#define IPC_EXCL 02000
23
#define IPC_NOWAIT 04000
24
25
#define IPC_RMID 0
26
#define IPC_SET 1
27
#define IPC_STAT 2
28
#define IPC_INFO 3
29
30
#define IPC_PRIVATE ((key_t) 0)
31
32
key_t ftok (const char *, int);
33
34
#ifdef __cplusplus
35
}
36
#endif
37
#endif