Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Side by Side Diff: fusl/include/sys/ipc.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/include/sys/ioctl.h ('k') | fusl/include/sys/kd.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef _SYS_IPC_H
2 #define _SYS_IPC_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6
7 #include <features.h>
8
9 #define __NEED_uid_t
10 #define __NEED_gid_t
11 #define __NEED_mode_t
12 #define __NEED_key_t
13
14 #include <bits/alltypes.h>
15
16 #define __ipc_perm_key __key
17 #define __ipc_perm_seq __seq
18
19 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
20 #define __key key
21 #define __seq seq
22 #endif
23
24 #include <bits/ipc.h>
25
26 #define IPC_CREAT 01000
27 #define IPC_EXCL 02000
28 #define IPC_NOWAIT 04000
29
30 #define IPC_RMID 0
31 #define IPC_SET 1
32 #define IPC_STAT 2
33 #define IPC_INFO 3
34
35 #define IPC_PRIVATE ((key_t) 0)
36
37 key_t ftok (const char *, int);
38
39 #ifdef __cplusplus
40 }
41 #endif
42 #endif
OLDNEW
« no previous file with comments | « fusl/include/sys/ioctl.h ('k') | fusl/include/sys/kd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698