Skip to content

Commit

Permalink
added missing signal constants for espidf
Browse files Browse the repository at this point in the history
(apply <rust-lang#3658> to `main`)
(cherry picked from commit 539ec75)
  • Loading branch information
Tevz-Beskovnik authored and tgross35 committed Aug 13, 2024
1 parent eba3aa8 commit 6778a43
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 6778a43

Please sign in to comment.