Last change
on this file since 333 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:
910 bytes
|
Line | |
---|
1 | #ifndef _SYS_SHM_H
|
---|
2 | #define _SYS_SHM_H
|
---|
3 |
|
---|
4 | #ifdef __cplusplus
|
---|
5 | extern "C" {
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #include <features.h>
|
---|
9 |
|
---|
10 | #define __NEED_time_t
|
---|
11 | #define __NEED_size_t
|
---|
12 | #define __NEED_pid_t
|
---|
13 |
|
---|
14 | #include <bits/alltypes.h>
|
---|
15 |
|
---|
16 | #include <sys/ipc.h>
|
---|
17 |
|
---|
18 | #ifdef _GNU_SOURCE
|
---|
19 | #define __used_ids used_ids
|
---|
20 | #define __swap_attempts swap_attempts
|
---|
21 | #define __swap_successes swap_successes
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | #include <bits/shm.h>
|
---|
25 |
|
---|
26 | #define SHM_R 0400
|
---|
27 | #define SHM_W 0200
|
---|
28 |
|
---|
29 | #define SHM_RDONLY 010000
|
---|
30 | #define SHM_RND 020000
|
---|
31 | #define SHM_REMAP 040000
|
---|
32 | #define SHM_EXEC 0100000
|
---|
33 |
|
---|
34 | #define SHM_LOCK 11
|
---|
35 | #define SHM_UNLOCK 12
|
---|
36 | #define SHM_STAT 13
|
---|
37 | #define SHM_INFO 14
|
---|
38 | #define SHM_DEST 01000
|
---|
39 | #define SHM_LOCKED 02000
|
---|
40 | #define SHM_HUGETLB 04000
|
---|
41 | #define SHM_NORESERVE 010000
|
---|
42 |
|
---|
43 | typedef unsigned long shmatt_t;
|
---|
44 |
|
---|
45 | void *shmat(int, const void *, int);
|
---|
46 | int shmctl(int, int, struct shmid_ds *);
|
---|
47 | int shmdt(const void *);
|
---|
48 | int shmget(key_t, size_t, int);
|
---|
49 |
|
---|
50 | #ifdef __cplusplus
|
---|
51 | }
|
---|
52 | #endif
|
---|
53 |
|
---|
54 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.