Go to the first, previous, next, last section, table of contents.


sigfillset

Syntax

#include <signal.h>

int sigfillset (sigset_t *set)

Description

This function initializes the set of signals pointed to by set to include all signals known to the DJGPP runtime system. Such a full set, if set by sigprocmask (see section sigprocmask), will cause all signals to be blocked from delivery to their handlers. Note that the set returned by this function only includes signals in the range SIGABRT..SIGTRAP; software interrupts and/or user-defined signals aren't included.

Return Value

0 upon success, -1 if set is a NULL pointer.

Portability

not ANSI, POSIX

Example

  sigset_t full_set, prev_set;

  sigfillset (&full_set);
  sigprocmask (SIG_UNBLOCK, &full_set, &prev_set);


Go to the first, previous, next, last section, table of contents.