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:
1.1 KB
|
Line | |
---|
1 | #ifndef _SYS_PROCFS_H
|
---|
2 | #define _SYS_PROCFS_H
|
---|
3 | #ifdef __cplusplus
|
---|
4 | extern "C" {
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | #include <sys/time.h>
|
---|
8 | #include <sys/types.h>
|
---|
9 | #include <sys/user.h>
|
---|
10 |
|
---|
11 | struct elf_siginfo {
|
---|
12 | int si_signo;
|
---|
13 | int si_code;
|
---|
14 | int si_errno;
|
---|
15 | };
|
---|
16 |
|
---|
17 | struct elf_prstatus {
|
---|
18 | struct elf_siginfo pr_info;
|
---|
19 | short int pr_cursig;
|
---|
20 | unsigned long int pr_sigpend;
|
---|
21 | unsigned long int pr_sighold;
|
---|
22 | pid_t pr_pid;
|
---|
23 | pid_t pr_ppid;
|
---|
24 | pid_t pr_pgrp;
|
---|
25 | pid_t pr_sid;
|
---|
26 | struct timeval pr_utime;
|
---|
27 | struct timeval pr_stime;
|
---|
28 | struct timeval pr_cutime;
|
---|
29 | struct timeval pr_cstime;
|
---|
30 | elf_gregset_t pr_reg;
|
---|
31 | int pr_fpvalid;
|
---|
32 | };
|
---|
33 |
|
---|
34 | #define ELF_PRARGSZ 80
|
---|
35 |
|
---|
36 | struct elf_prpsinfo {
|
---|
37 | char pr_state;
|
---|
38 | char pr_sname;
|
---|
39 | char pr_zomb;
|
---|
40 | char pr_nice;
|
---|
41 | unsigned long int pr_flag;
|
---|
42 | #if UINTPTR_MAX == 0xffffffff
|
---|
43 | unsigned short int pr_uid;
|
---|
44 | unsigned short int pr_gid;
|
---|
45 | #else
|
---|
46 | unsigned int pr_uid;
|
---|
47 | unsigned int pr_gid;
|
---|
48 | #endif
|
---|
49 | int pr_pid, pr_ppid, pr_pgrp, pr_sid;
|
---|
50 | char pr_fname[16];
|
---|
51 | char pr_psargs[ELF_PRARGSZ];
|
---|
52 | };
|
---|
53 |
|
---|
54 | typedef void *psaddr_t;
|
---|
55 | typedef elf_gregset_t prgregset_t;
|
---|
56 | typedef elf_fpregset_t prfpregset_t;
|
---|
57 | typedef pid_t lwpid_t;
|
---|
58 | typedef struct elf_prstatus prstatus_t;
|
---|
59 | typedef struct elf_prpsinfo prpsinfo_t;
|
---|
60 |
|
---|
61 | #ifdef __cplusplus
|
---|
62 | }
|
---|
63 | #endif
|
---|
64 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.