purge remaining gpl code from clib, and make clib build again
[tangerine.git] / compiler / clib / sigemptyset.c
blobd8dde1d2eb2d758102a08c043b96034ef8ffc60a
1 /*
2 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function sigemptyset().
6 */
8 /*****************************************************************************
10 NAME */
12 #include <signal.h>
13 #include <string.h>
15 int sigemptyset (
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, 0x00, sizeof(set->__val));
40 return 0;
43 return -1; /* return failure */
44 } /* sigemptyset */