[−][src]Function interprocess::os::unix::signal::send_rt
pub fn send_rt(
signal: impl Into<Option<u32>>,
pid: impl Into<u32>
) -> Result<()>
Sends the specified real-time signal to the specified process. If the specified signal is None
, no signal is sent and only a privilege check is performed instead.
Example
use interprocess::os::unix::signal::{self, SignalType}; use std::process; // Send a real-timne signal 0 to the calling process. signal::send_rt(0, process::id())?;