Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

 sigprocmask(3)

sigsetops(3)

sigpending(2)

NAME

sigpending − examine pending signals

SYNTAX

#include <signal.h>

sigpending(set);
sigset_t *set;

DESCRIPTION

The sigpending system call stores the set of signals that are blocked from delivery and pending for the calling process in the space pointed to by the argument set. 

The set argument is manipulated by using the sigsetops() functions.

RETURN VALUE

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

DIAGNOSTICS

The sigpending system call fails if the following occurs:

[EFAULT] The set argument points to memory which is not a valid part of the process address space. 

SEE ALSO

 sigprocmask(3), sigsetops(3)

System Calls

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