Fixed compatibility of output.
[AROS.git] / compiler / posixc / sigemptyset.c
blob535f9c9b9dd9a37b160fcb8f046546e4af57f0da
1 /*
2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX.1-2008 function sigemptyset().
6 */
8 #include <string.h>
10 /*****************************************************************************
12 NAME */
13 #include <signal.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 */