diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-14 06:58:30 +0200 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-10 18:40:06 +1000 |
commit | 69f49ea0d70939340e8a2c28aae36c8e2f3fb41e (patch) | |
tree | 75bb11ec769cd3529084b1da755d97c09a2545d5 /include | |
parent | 9f4e87b2e7c18243341707a2d2df3957105139e5 (diff) | |
download | busybox-w32-69f49ea0d70939340e8a2c28aae36c8e2f3fb41e.tar.gz busybox-w32-69f49ea0d70939340e8a2c28aae36c8e2f3fb41e.tar.bz2 busybox-w32-69f49ea0d70939340e8a2c28aae36c8e2f3fb41e.zip |
win32: add signal routines and SIGALRM support
The implementation for SIGALRM only because Git needs it
(I think for progress display or something). Probably not hurt
having it. Although the only thing needed here are stubs.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index c5f72837b..0ff7f5442 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -109,9 +109,11 @@ struct sigaction { | |||
109 | #define sigemptyset(x) (void)0 | 109 | #define sigemptyset(x) (void)0 |
110 | #define SA_RESTART 0 | 110 | #define SA_RESTART 0 |
111 | 111 | ||
112 | NOIMPL(sigaction,int sig UNUSED_PARAM, struct sigaction *in UNUSED_PARAM, struct sigaction *out UNUSED_PARAM); | 112 | int sigaction(int sig, struct sigaction *in, struct sigaction *out); |
113 | sighandler_t mingw_signal(int sig, sighandler_t handler); | ||
113 | NOIMPL(sigfillset,int *mask UNUSED_PARAM); | 114 | NOIMPL(sigfillset,int *mask UNUSED_PARAM); |
114 | 115 | ||
116 | #define signal mingw_signal | ||
115 | /* | 117 | /* |
116 | * stdio.h | 118 | * stdio.h |
117 | */ | 119 | */ |