define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / compiler / clib / sigfillset.c
blob44fbfc3550805119259c7bdb722cabf56ff022c5
1 /*
2 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function sigfillset().
6 */
8 /*****************************************************************************
10 NAME */
12 #include <signal.h>
13 #include <string.h>
15 int sigfillset (
17 /* SYNOPSIS */
18 sigset_t *set)
20 /* FUNCTION
22 INPUTS
24 RESULT
26 NOTES
28 EXAMPLE
30 BUGS
32 SEE ALSO
34 INTERNALS
36 ******************************************************************************/
38 if (NULL != set) {
39 memset(&set->__val, 0xff, sizeof(set->__val));
40 return 0;
43 return -1; /* return failure */
44 } /* sigfillset */