The nix crate provides an UNIX Rust API to handle signals, however it requires using unsafe rust so you should be careful. use nix::sys::signal; ...
確定! 回上一頁