signal update string representation for haiku.

This commit is contained in:
David Carlier 2023-01-18 23:06:59 +00:00
parent 6d46b1ec87
commit ae9e66bafb
1 changed files with 2 additions and 0 deletions

View File

@ -746,6 +746,8 @@ fn signal_string(signal: i32) -> &'static str {
libc::SIGWINCH => " (SIGWINCH)",
#[cfg(not(target_os = "haiku"))]
libc::SIGIO => " (SIGIO)",
#[cfg(target_os = "haiku")]
libc::SIGPOLL => " (SIGPOLL)",
libc::SIGSYS => " (SIGSYS)",
// For information on Linux signals, run `man 7 signal`
#[cfg(all(