sys_rt_sigpending

Function sys_rt_sigpending 

Source
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 a sigset_t where 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.