.\" The Regents of the University of California. All rights reserved.
.\" This code is derived from software contributed to Berkeley by
.\" Berkeley Software Design, Inc.
.\" %sccs.include.redist.roff%
.\" @(#)sigpending.2 8.1 (Berkeley) %G%
.Fn sigpending "sigset_t *set"
function returns a mask of the signals pending for delivery
to the calling process in the location indicated by
Signals may be pending because they are currently masked,
or transiently before delivery (although the latter case is not
A 0 value indicated that the call succeeded. A \-1 return value
indicates an error occurred and
is set to indicated the reason.
function does not currently detect any errors.