1/* Version of sigsetmask.c 2 Written by Steve Chamberlain (sac@cygnus.com). 3 Contributed by Cygnus Support. 4 This file is in the public doamin. */ 5
| 1/* Version of sigsetmask.c 2 Written by Steve Chamberlain (sac@cygnus.com). 3 Contributed by Cygnus Support. 4 This file is in the public doamin. */ 5
|
6/* Set the current signal mask to the set provided, and return the 7 previous value */
| 6/*
|
8
| 7
|
| 8@deftypefn Supplemental int sigsetmask (int @var{set}) 9 10Sets the signal mask to the one provided in @var{set} and returns 11the old mask (which, for libiberty's implementation, will always 12be the value @code{1}). 13 14@end deftypefn 15 16*/ 17
|
9#define _POSIX_SOURCE 10#include <ansidecl.h> 11/* Including <sys/types.h> seems to be needed by ISC. */ 12#include <sys/types.h> 13#include <signal.h> 14 15extern void abort PARAMS ((void)) ATTRIBUTE_NORETURN; 16
--- 16 unchanged lines hidden --- | 18#define _POSIX_SOURCE 19#include <ansidecl.h> 20/* Including <sys/types.h> seems to be needed by ISC. */ 21#include <sys/types.h> 22#include <signal.h> 23 24extern void abort PARAMS ((void)) ATTRIBUTE_NORETURN; 25
--- 16 unchanged lines hidden --- |