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. */
6 /* Set the current signal mask to the set provided, and return the
11 /* Including <sys/types.h> seems to be needed by ISC. */
12 #include <sys/types.h>
15 extern void abort
PARAMS ((void)) ATTRIBUTE_NORETURN
;
19 DEFUN(sigsetmask
,(set
),
27 abort(); /* FIXME, we don't know how to translate old mask to new */
29 sigprocmask(SIG_SETMASK
, &new, &old
);
30 return 1; /* FIXME, we always return 1 as old value. */