Skip to content

Commit

Permalink
Merge pull request #3658 from Tevz-Beskovnik/libc-0.2
Browse files Browse the repository at this point in the history
[0.2] Add SIG constants to espidf
  • Loading branch information
JohnTitor authored Apr 27, 2024
2 parents 12d42db + 539ec75 commit e4a9cbc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/unix/newlib/espidf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ pub const MSG_EOR: ::c_int = 0x08;

pub const PTHREAD_STACK_MIN: ::size_t = 768;

pub const SIGABRT: ::size_t = 1;
pub const SIGFPE: ::size_t = 1;
pub const SIGILL: ::size_t = 1;
pub const SIGINT: ::size_t = 1;
pub const SIGSEGV: ::size_t = 1;
pub const SIGTERM: ::size_t = 1;
pub const SIGHUP: ::size_t = 1;
pub const SIGQUIT: ::size_t = 1;
pub const NSIG: ::size_t = 2;

extern "C" {
pub fn pthread_create(
native: *mut ::pthread_t,
Expand Down

0 comments on commit e4a9cbc

Please sign in to comment.