The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

sigpending - examine pending signals

 SYNOPSIS



#include <signal.h>

int sigpending(sigset_t *set);

 DESCRIPTION

The sigpending() function stores, in the location referenced by the set argument, the set of signals that are blocked from delivery to the calling thread and that are pending on the process or the calling thread.

 RETURN VALUE

Upon successful completion, sigpending() returns 0. Otherwise -1 is returned and errno is set to indicate the error.

 ERRORS

No errors are defined.

 EXAMPLES

None.

 APPLICATION USAGE

None.

 FUTURE DIRECTIONS

None.

 SEE ALSO

sigaddset(), sigdelset(), sigemptyset(), sigfillset(), sigismember(), sigprocmask(), <signal.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]