std::unix::process adding few specific freebsd signals to be able to id.

This commit is contained in:
David Carlier 2024-06-08 08:31:35 +01:00
parent ff014f5de0
commit cf3966dd9c

View File

@ -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)",
_ => "",
}
}