Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sigaction(2)

sigsuspend(2)

sigprocmask(2)

sigsetops(3C)

signal(5)

sigpending(2)

NAME

sigpending − examine pending signals

SYNOPSIS

#include <signal.h>

int sigpending(sigset_t *set);

DESCRIPTION

sigpending() stores sets of signals that are blocked from delivery and are pending to the calling process, at the location pointed to by set.

RETURN VALUE

Upon successful completion, sigpending() returns a value of 0; otherwise it returns −1 and sets errno to indicate the error. 

ERRORS

sigpending() fails if the following condition is encountered:

[EFAULT] set points to an invalid address.  The reliable detection of this error is implementation dependent. 

AUTHOR

sigpending() was derived from the IEEE POSIX 1003.1-1988 Standard. 

SEE ALSO

sigaction(2), sigsuspend(2), sigprocmask(2), sigsetops(3C), signal(5). 

STANDARDS CONFORMANCE

sigpending(): AES, XPG3, XPG4, FIPS 151-2, POSIX.1

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026