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

Function kernel_sigpending

src/backend/linux_raw/runtime/syscalls.rs:197–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195
196#[inline]
197pub(crate) fn kernel_sigpending() -> KernelSigSet {
198 let mut pending = MaybeUninit::<KernelSigSet>::uninit();
199 unsafe {
200 ret_infallible(syscall!(
201 __NR_rt_sigpending,
202 &mut pending,
203 size_of::<KernelSigSet, _>()
204 ));
205 pending.assume_init()
206 }
207}
208
209#[inline]
210pub(crate) fn kernel_sigsuspend(set: &KernelSigSet) -> io::Result<()> {

Callers

nothing calls this directly

Calls 2

assume_initMethod · 0.80
ret_infallibleFunction · 0.50

Tested by

no test coverage detected