gtpc2m6pC/C++ Language Support User's Guide

sigemptyset-Initialize and Empty a Signal Set

This macro is used to initialize a signal set so that all supported signals are excluded. It is one of several macros that manage or query signal sets.

Format

#include <signal.h>
int sigemptyset(sigset_t *set);

set
A pointer to the signal set to be initialized. The signal set is of the sigset_t type.

Normal Return

The sigemptyset macro is always successful and returns a value of 0.

Error Return

None.

Programming Considerations

None.

Examples

See sigaction-Examine and Change Signal Action for an example of the sigemptyset macro.

Related Information