www.delorie.com/djgpp/doc/libc/libc_721.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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

ANSI/ISO C No
POSIX 1003.2-1992; 1003.1-2001

Example

 
  sigset_t full_set, prev_set;

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


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004