sigsuspend(2)

DESCRIPTION

Temporarily replaces the mask and waits for a signal.

SYNOPSIS

long sigsuspend(const uint32_t *mask);

RETURN VALUE

  • Returns a non-negative result on success. Negative values are ABI errno codes.

ERRORS

  • -EFAULT
    • The mask pointer is not readable userspace memory.
  • -EINTR
    • A signal interrupted the suspended thread.
  • -ESRCH
    • There is no current process or thread.

ABI

Arguments enter through the direct syscall ABI; validation is performed before entering the process subsystem.