Skip to content

Commit d69595e

Browse files
JohnTitorAkhilTThomas
authored andcommitted
Merge pull request rust-lang#3658 from Tevz-Beskovnik/libc-0.2
[0.2] Add SIG constants to espidf
2 parents 7080c7c + 4cab023 commit d69595e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/unix/newlib/espidf/mod.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ pub const SIGHUP: c_int = 1;
100100
pub const SIGQUIT: c_int = 3;
101101
pub const NSIG: size_t = 32;
102102

103+
pub const SIGABRT: ::size_t = 1;
104+
pub const SIGFPE: ::size_t = 1;
105+
pub const SIGILL: ::size_t = 1;
106+
pub const SIGINT: ::size_t = 1;
107+
pub const SIGSEGV: ::size_t = 1;
108+
pub const SIGTERM: ::size_t = 1;
109+
pub const SIGHUP: ::size_t = 1;
110+
pub const SIGQUIT: ::size_t = 1;
111+
pub const NSIG: ::size_t = 2;
112+
103113
extern "C" {
104114
pub fn pthread_create(
105115
native: *mut crate::pthread_t,

0 commit comments

Comments
 (0)