diff options
| author | David Carlier <devnexen@gmail.com> | 2023-01-18 23:06:59 +0000 |
|---|---|---|
| committer | David Carlier <devnexen@gmail.com> | 2023-01-18 23:06:59 +0000 |
| commit | ae9e66bafbe83b3c32b6c08027a667961cfdc8fe (patch) | |
| tree | c2f4b5abfd3786ae4e4ca0ab8504c41a88bd2564 /library/std/src/sys/unix/process/process_unix.rs | |
| parent | 6d46b1ec8769fbbb3ac2a2cb12f0cad527135413 (diff) | |
| download | rust-ae9e66bafbe83b3c32b6c08027a667961cfdc8fe.tar.gz rust-ae9e66bafbe83b3c32b6c08027a667961cfdc8fe.zip | |
signal update string representation for haiku.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
| -rw-r--r-- | library/std/src/sys/unix/process/process_unix.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/process/process_unix.rs b/library/std/src/sys/unix/process/process_unix.rs index c2c4aa1c9df..3bc17b7754d 100644 --- a/library/std/src/sys/unix/process/process_unix.rs +++ b/library/std/src/sys/unix/process/process_unix.rs @@ -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( |
