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

Function kernel_sigwaitinfo

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

Source from the content-addressed store, hash-verified

230
231#[inline]
232pub(crate) unsafe fn kernel_sigwaitinfo(set: &KernelSigSet) -> io::Result<Siginfo> {
233 let mut info = MaybeUninit::<Siginfo>::uninit();
234 let _signum = ret_c_int(syscall!(
235 __NR_rt_sigtimedwait,
236 by_ref(set),
237 &mut info,
238 zero(),
239 size_of::<KernelSigSet, _>()
240 ))?;
241 Ok(info.assume_init())
242}
243
244#[inline]
245pub(crate) unsafe fn kernel_sigtimedwait(

Callers

nothing calls this directly

Calls 2

assume_initMethod · 0.80
ret_c_intFunction · 0.50

Tested by

no test coverage detected