MirBSD manpage: sigpending(2)

SIGPENDING(2)              BSD Programmer's Manual               SIGPENDING(2)

NAME

     sigpending - get pending signals

SYNOPSIS

     #include <signal.h>

     int
     sigpending(sigset_t *set);

DESCRIPTION

     The sigpending function returns a mask of the signals pending for
     delivery to the calling process in the location indicated by set. Signals
     may be pending because they are currently masked, or transiently before
     delivery (although the latter case is not normally detectable).

RETURN VALUES

     A 0 value indicated that the call succeeded. A -1 return value indicates
     an error occurred and errno is set to indicated the reason.

ERRORS

     The sigpending function does not currently detect any errors.

SEE ALSO

     sigaction(2), sigprocmask(2)

STANDARDS

     The sigpending function is defined by IEEE Std 1003.1-1988 ("POSIX.1").

MirBSD #10-current             January 12, 1994                              1

Generated on 2020-05-24 22:24:40 by $MirOS: src/scripts/roff2htm,v 1.101 2020/05/03 18:46:23 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2020 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.