summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/POSIX/sigemptyset.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/POSIX/sigemptyset.c')
-rw-r--r--testsuites/libtests/POSIX/sigemptyset.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuites/libtests/POSIX/sigemptyset.c b/testsuites/libtests/POSIX/sigemptyset.c
new file mode 100644
index 0000000000..def1d3c888
--- /dev/null
+++ b/testsuites/libtests/POSIX/sigemptyset.c
@@ -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;
+}