Skip to content

Commit

Permalink
std::unix::process adding few specific freebsd signals to be able to id.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Jun 8, 2024
1 parent 67454f5 commit e000ecb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions std/src/sys/pal/unix/process/process_unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1053,6 +1053,10 @@ fn signal_string(signal: i32) -> &'static str {
libc::SIGINFO => " (SIGINFO)",
#[cfg(target_os = "hurd")]
libc::SIGLOST => " (SIGLOST)",
#[cfg(target_os = "freebsd")]
libc::SIGTHR => " (SIGTHR)",
#[cfg(target_os = "freebsd")]
libc::SIGLIBRT => " (SIGLIBRT)",
_ => "",
}
}
Expand Down

0 comments on commit e000ecb

Please sign in to comment.