File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,10 @@ pub type __p_sig_fn_t = usize;
2
2
3
3
pub const L_tmpnam : :: c_uint = 14 ;
4
4
pub const TMP_MAX : :: c_uint = 0x7fff ;
5
- pub const SIGHUP : :: c_int = 1 ;
6
5
pub const SIGINT : :: c_int = 2 ;
7
- pub const SIGQUIT : :: c_int = 3 ;
8
6
pub const SIGILL : :: c_int = 4 ;
9
- pub const SIGTRAP : :: c_int = 5 ;
10
- pub const SIGIOT : :: c_int = 6 ;
11
- pub const SIGEMT : :: c_int = 7 ;
12
7
pub const SIGFPE : :: c_int = 8 ;
13
- pub const SIGKILL : :: c_int = 9 ;
14
- pub const SIGBUS : :: c_int = 10 ;
15
8
pub const SIGSEGV : :: c_int = 11 ;
16
- pub const SIGSYS : :: c_int = 12 ;
17
- pub const SIGPIPE : :: c_int = 13 ;
18
- pub const SIGALRM : :: c_int = 14 ;
19
9
pub const SIGTERM : :: c_int = 15 ;
20
10
pub const SIGABRT : :: c_int = 22 ;
21
11
pub const NSIG : :: c_int = 23 ;
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ pub const SIGTERM: ::c_int = 15;
11
11
pub const SIG_ERR : :: c_int = -1 ;
12
12
13
13
extern {
14
- pub fn signal ( signum : c_int , handler : _crt_signal_t ) -> _crt_signal_t ;
15
- pub fn raise ( signum : c_int ) -> c_int ;
14
+ pub fn signal ( signum : :: c_int , handler : _crt_signal_t ) -> _crt_signal_t ;
15
+ pub fn raise ( signum : :: c_int ) -> :: c_int ;
16
16
#[ link_name = "_stricmp" ]
17
17
pub fn stricmp ( s1 : * const :: c_char , s2 : * const :: c_char ) -> :: c_int ;
18
18
#[ link_name = "_strnicmp" ]
You can’t perform that action at this time.
0 commit comments