diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-13 20:32:13 +0200 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-10 19:49:34 +1000 |
commit | 1059832ca04505a4e579c9ada1de0bf7dd4771d2 (patch) | |
tree | 9b0742a461ffeddee0157cb8f2945561dac5104f /include/mingw.h | |
parent | c903ad76111e740b61b7fc6033e5d84867d09a63 (diff) | |
download | busybox-w32-1059832ca04505a4e579c9ada1de0bf7dd4771d2.tar.gz busybox-w32-1059832ca04505a4e579c9ada1de0bf7dd4771d2.tar.bz2 busybox-w32-1059832ca04505a4e579c9ada1de0bf7dd4771d2.zip |
win32: mingw.h: add WCOREDUMP an WUNTRACED
Diffstat (limited to 'include/mingw.h')
-rw-r--r-- | include/mingw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index 0fbc8f528..53a0a0d67 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -112,6 +112,8 @@ struct sigaction { | |||
112 | int sigaction(int sig, struct sigaction *in, struct sigaction *out); | 112 | int sigaction(int sig, struct sigaction *in, struct sigaction *out); |
113 | sighandler_t mingw_signal(int sig, sighandler_t handler); | 113 | sighandler_t mingw_signal(int sig, sighandler_t handler); |
114 | NOIMPL(sigfillset,int *mask UNUSED_PARAM); | 114 | NOIMPL(sigfillset,int *mask UNUSED_PARAM); |
115 | NOIMPL(FAST_FUNC sigprocmask_allsigs, int how UNUSED_PARAM); | ||
116 | NOIMPL(FAST_FUNC sigaction_set,int signo UNUSED_PARAM, const struct sigaction *sa UNUSED_PARAM); | ||
115 | 117 | ||
116 | #define signal mingw_signal | 118 | #define signal mingw_signal |
117 | /* | 119 | /* |
@@ -143,6 +145,7 @@ int winansi_fprintf(FILE *stream, const char *format, ...) __attribute__((format | |||
143 | #define WEXITSTATUS(x) ((x) & 0xff) | 145 | #define WEXITSTATUS(x) ((x) & 0xff) |
144 | #define WIFSIGNALED(x) ((unsigned)(x) > 259) | 146 | #define WIFSIGNALED(x) ((unsigned)(x) > 259) |
145 | #define WTERMSIG(x) ((x) & 0x7f) | 147 | #define WTERMSIG(x) ((x) & 0x7f) |
148 | #define WCOREDUMP(x) 0 | ||
146 | 149 | ||
147 | int clearenv(void); | 150 | int clearenv(void); |
148 | char *mingw_getenv(const char *name); | 151 | char *mingw_getenv(const char *name); |
@@ -243,6 +246,7 @@ int setitimer(int type, struct itimerval *in, struct itimerval *out); | |||
243 | * sys/wait.h | 246 | * sys/wait.h |
244 | */ | 247 | */ |
245 | #define WNOHANG 1 | 248 | #define WNOHANG 1 |
249 | #define WUNTRACED 2 | ||
246 | int waitpid(pid_t pid, int *status, unsigned options); | 250 | int waitpid(pid_t pid, int *status, unsigned options); |
247 | 251 | ||
248 | /* | 252 | /* |