sigpending(2)
get pending signals
LIBRARY
Lb libc
SYNOPSIS
In signal.h
Ft int
Fn sigpending sigset_t *set
DESCRIPTION
The
Fn sigpending
system call returns a mask of the signals pending for delivery
to the calling thread or the calling process in the location indicated by
Fa set .
Signals may be pending because they are currently masked,
or transiently before delivery (although the latter case is not
normally detectable).
RETURN VALUES
Rv -std sigpending
ERRORS
The
Fn sigpending
system call
will fail if:
- Bq Er EFAULT
-
The
Fa set
argument specified an invalid address.
STANDARDS
The
Fn sigpending
system call is expected to conform to
St -p1003.1-90 .