Examine pending signals. Returns a set of signal numbers that are pending for delivery to the calling thread.
signal/sigpending
sigpending