mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-06 19:19:58 +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);
|
||
|
}
|
||
|
}
|