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:
867 bytes
|
Line | |
---|
1 | #ifndef _SYS_MSG_H
|
---|
2 | #define _SYS_MSG_H
|
---|
3 |
|
---|
4 | #ifdef __cplusplus
|
---|
5 | extern "C" {
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #include <sys/ipc.h>
|
---|
9 |
|
---|
10 | #define __NEED_pid_t
|
---|
11 | #define __NEED_key_t
|
---|
12 | #define __NEED_time_t
|
---|
13 | #define __NEED_size_t
|
---|
14 | #define __NEED_ssize_t
|
---|
15 |
|
---|
16 | #include <bits/alltypes.h>
|
---|
17 |
|
---|
18 | typedef unsigned long msgqnum_t;
|
---|
19 | typedef unsigned long msglen_t;
|
---|
20 |
|
---|
21 | #include <bits/msg.h>
|
---|
22 |
|
---|
23 | #define __msg_cbytes msg_cbytes
|
---|
24 |
|
---|
25 | #define MSG_NOERROR 010000
|
---|
26 | #define MSG_EXCEPT 020000
|
---|
27 |
|
---|
28 | #define MSG_STAT 11
|
---|
29 | #define MSG_INFO 12
|
---|
30 |
|
---|
31 | struct msginfo {
|
---|
32 | int msgpool, msgmap, msgmax, msgmnb, msgmni, msgssz, msgtql;
|
---|
33 | unsigned short msgseg;
|
---|
34 | };
|
---|
35 |
|
---|
36 | int msgctl (int, int, struct msqid_ds *);
|
---|
37 | int msgget (key_t, int);
|
---|
38 | ssize_t msgrcv (int, void *, size_t, long, int);
|
---|
39 | int msgsnd (int, const void *, size_t, int);
|
---|
40 |
|
---|
41 | #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
---|
42 | struct msgbuf {
|
---|
43 | long mtype;
|
---|
44 | char mtext[1];
|
---|
45 | };
|
---|
46 | #endif
|
---|
47 |
|
---|
48 | #ifdef __cplusplus
|
---|
49 | }
|
---|
50 | #endif
|
---|
51 |
|
---|
52 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.