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 is 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 Values

A zero (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 that is not a valid part of the process address space. 

See Also

 sigprocmask(3), sigsetops(3)

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