This commit is contained in:
Ralf Corsepius
2009-12-04 15:17:31 +00:00
parent bb14405df2
commit 4583cac88e
4 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/*
* Copyright (c) 2009 by
* Ralf Corsépius, Ulm, Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
* is freely granted, provided that this notice is preserved.
*/
#include <signal.h>
int
main (void)
{
sigset_t set;
int status;
status = sigaddset (&set, 21);
return status;
}

View File

@@ -0,0 +1,19 @@
/*
* Copyright (c) 2009 by
* Ralf Corsépius, Ulm, Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
* is freely granted, provided that this notice is preserved.
*/
#include <signal.h>
int
main (void)
{
sigset_t set;
int status;
status = sigdelset (&set, 21);
return status;
}

View File

@@ -0,0 +1,18 @@
/*
* Copyright (c) 2009 by
* Ralf Corsépius, Ulm, Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
* is freely granted, provided that this notice is preserved.
*/
#include <signal.h>
int
main (void)
{
sigset_t set;
int status = sigemptyset (&set);
return status;
}

View File

@@ -0,0 +1,19 @@
/*
* Copyright (c) 2009 by
* Ralf Corsépius, Ulm, Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
* is freely granted, provided that this notice is preserved.
*/
#include <signal.h>
int
main (void)
{
sigset_t set;
int status;
status = sigismember(&set, 21);
return status;
}