[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 2

sigpending Subroutine

Purpose

Returns a set of signals that are blocked from delivery.

Library

Standard C Library (libc.a)

Syntax

#include <signal.h>
int sigpending (Set)
sigset_t *Set;

Description

The sigpending subroutine stores a set of signals that are blocked from delivery and pending for the calling thread, in the space pointed to by the Set parameter.

Parameters

Set Specifies the set of signals.

Return Values

Upon successful completion, the sigpending subroutine returns a value of 0. Otherwise, a value of -1 is returned and the errno global variable is set to indicate the error.

Error Codes

The sigpending subroutine is unsuccessful if the following is true:

EINVAL The input parameter is outside the user's address space.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The sigprocmask subroutine.


[ Previous | Next | Contents | Glossary | Home | Search ]