source: EcnlProtoTool/trunk/musl-1.1.18/include/sys/ipc.h@ 331

Last change on this file since 331 was 331, checked in by coas-nagasima, 6 years ago

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr
File size: 644 bytes
Line 
1#ifndef _SYS_IPC_H
2#define _SYS_IPC_H
3#ifdef __cplusplus
4extern "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
37key_t ftok (const char *, int);
38
39#ifdef __cplusplus
40}
41#endif
42#endif
Note: See TracBrowser for help on using the repository browser.