pub fn sys_rt_sigpending(
_locked: &mut Locked<Unlocked>,
current_task: &CurrentTask,
set: UserRef<SigSet>,
sigset_size: usize,
) -> Result<(), Errno>Expand description
The rt_sigpending syscall returns the set of signals that are pending for delivery to the
calling thread.
§Args
set: A pointer to asigset_twhere the set of pending signals is stored.sigset_size: The size of the signal set, in bytes.
§Returns
Ok(()) on success. Otherwise, returns an Errno with the error code.