mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-30 08:04:04 +00:00
8 lines
141 B
Rust
8 lines
141 B
Rust
pub fn send_signal(signal: libc::c_int) {
|
|
use libc::{getpid, kill};
|
|
|
|
unsafe {
|
|
assert_eq!(kill(getpid(), signal), 0);
|
|
}
|
|
}
|