MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / kernel_sigwait

Function kernel_sigwait

src/backend/linux_raw/runtime/syscalls.rs:221–229  ·  view source on GitHub ↗
(set: &KernelSigSet)

Source from the content-addressed store, hash-verified

219
220#[inline]
221pub(crate) unsafe fn kernel_sigwait(set: &KernelSigSet) -> io::Result<Signal> {
222 Ok(Signal::from_raw_unchecked(ret_c_int(syscall_readonly!(
223 __NR_rt_sigtimedwait,
224 by_ref(set),
225 zero(),
226 zero(),
227 size_of::<KernelSigSet, _>()
228 ))?))
229}
230
231#[inline]
232pub(crate) unsafe fn kernel_sigwaitinfo(set: &KernelSigSet) -> io::Result<Siginfo> {

Callers

nothing calls this directly

Calls 1

ret_c_intFunction · 0.50

Tested by

no test coverage detected