summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-23 21:10:12 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-23 21:10:12 +0000
commit1b297b4af21a9d53d625c9f4ad6b9610056f1228 (patch)
tree10e7f992f56e60af49dc8b7dae193862e4f41c7c
parentnew files (diff)
downloadrtems-1b297b4af21a9d53d625c9f4ad6b9610056f1228.tar.bz2
new files
-rw-r--r--c/src/tests/psxtests/psxhdrs/signal20.c26
-rw-r--r--c/src/tests/psxtests/psxhdrs/signal21.c23
-rw-r--r--c/src/tests/psxtests/psxhdrs/signal22.c26
-rw-r--r--testsuites/psxtests/psxhdrs/signal20.c26
-rw-r--r--testsuites/psxtests/psxhdrs/signal21.c23
-rw-r--r--testsuites/psxtests/psxhdrs/signal22.c26
6 files changed, 150 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/signal20.c b/c/src/tests/psxtests/psxhdrs/signal20.c
new file mode 100644
index 0000000000..f0d83c86b3
--- /dev/null
+++ b/c/src/tests/psxtests/psxhdrs/signal20.c
@@ -0,0 +1,26 @@
+/*
+ * This test file is used to verify that the header files associated with
+ * the callout are correct.
+ *
+ * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996.
+ * On-Line Applications Research Corporation (OAR).
+ * All rights assigned to U.S. Government, 1994.
+ *
+ * This material may be reproduced by or for the U.S. Government pursuant
+ * to the copyright license under the clause at DFARS 252.227-7013. This
+ * notice must appear in all copies of this file and its derivatives.
+ *
+ * $Id$
+ */
+
+#include <signal.h>
+
+void test( void )
+{
+ unsigned int seconds;
+ unsigned int result;
+
+ seconds = 10;
+
+ result = alarm( seconds );
+}
diff --git a/c/src/tests/psxtests/psxhdrs/signal21.c b/c/src/tests/psxtests/psxhdrs/signal21.c
new file mode 100644
index 0000000000..08d3cd6158
--- /dev/null
+++ b/c/src/tests/psxtests/psxhdrs/signal21.c
@@ -0,0 +1,23 @@
+/*
+ * This test file is used to verify that the header files associated with
+ * the callout are correct.
+ *
+ * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996.
+ * On-Line Applications Research Corporation (OAR).
+ * All rights assigned to U.S. Government, 1994.
+ *
+ * This material may be reproduced by or for the U.S. Government pursuant
+ * to the copyright license under the clause at DFARS 252.227-7013. This
+ * notice must appear in all copies of this file and its derivatives.
+ *
+ * $Id$
+ */
+
+#include <signal.h>
+
+void test( void )
+{
+ int result;
+
+ result = pause();
+}
diff --git a/c/src/tests/psxtests/psxhdrs/signal22.c b/c/src/tests/psxtests/psxhdrs/signal22.c
new file mode 100644
index 0000000000..fb6a399738
--- /dev/null
+++ b/c/src/tests/psxtests/psxhdrs/signal22.c
@@ -0,0 +1,26 @@
+/*
+ * This test file is used to verify that the header files associated with
+ * the callout are correct.
+ *
+ * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996.
+ * On-Line Applications Research Corporation (OAR).
+ * All rights assigned to U.S. Government, 1994.
+ *
+ * This material may be reproduced by or for the U.S. Government pursuant
+ * to the copyright license under the clause at DFARS 252.227-7013. This
+ * notice must appear in all copies of this file and its derivatives.
+ *
+ * $Id$
+ */
+
+#include <signal.h>
+
+void test( void )
+{
+ unsigned int seconds;
+ unsigned int result;
+
+ seconds = 10;
+
+ result = sleep( seconds );
+}
diff --git a/testsuites/psxtests/psxhdrs/signal20.c b/testsuites/psxtests/psxhdrs/signal20.c
new file mode 100644
index 0000000000..f0d83c86b3
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/signal20.c
@@ -0,0 +1,26 @@
+/*
+ * This test file is used to verify that the header files associated with
+ * the callout are correct.
+ *
+ * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996.
+ * On-Line Applications Research Corporation (OAR).
+ * All rights assigned to U.S. Government, 1994.
+ *
+ * This material may be reproduced by or for the U.S. Government pursuant
+ * to the copyright license under the clause at DFARS 252.227-7013. This
+ * notice must appear in all copies of this file and its derivatives.
+ *
+ * $Id$
+ */
+
+#include <signal.h>
+
+void test( void )
+{
+ unsigned int seconds;
+ unsigned int result;
+
+ seconds = 10;
+
+ result = alarm( seconds );
+}
diff --git a/testsuites/psxtests/psxhdrs/signal21.c b/testsuites/psxtests/psxhdrs/signal21.c
new file mode 100644
index 0000000000..08d3cd6158
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/signal21.c
@@ -0,0 +1,23 @@
+/*
+ * This test file is used to verify that the header files associated with
+ * the callout are correct.
+ *
+ * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996.
+ * On-Line Applications Research Corporation (OAR).
+ * All rights assigned to U.S. Government, 1994.
+ *
+ * This material may be reproduced by or for the U.S. Government pursuant
+ * to the copyright license under the clause at DFARS 252.227-7013. This
+ * notice must appear in all copies of this file and its derivatives.
+ *
+ * $Id$
+ */
+
+#include <signal.h>
+
+void test( void )
+{
+ int result;
+
+ result = pause();
+}
diff --git a/testsuites/psxtests/psxhdrs/signal22.c b/testsuites/psxtests/psxhdrs/signal22.c
new file mode 100644
index 0000000000..fb6a399738
--- /dev/null
+++ b/testsuites/psxtests/psxhdrs/signal22.c
@@ -0,0 +1,26 @@
+/*
+ * This test file is used to verify that the header files associated with
+ * the callout are correct.
+ *
+ * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996.
+ * On-Line Applications Research Corporation (OAR).
+ * All rights assigned to U.S. Government, 1994.
+ *
+ * This material may be reproduced by or for the U.S. Government pursuant
+ * to the copyright license under the clause at DFARS 252.227-7013. This
+ * notice must appear in all copies of this file and its derivatives.
+ *
+ * $Id$
+ */
+
+#include <signal.h>
+
+void test( void )
+{
+ unsigned int seconds;
+ unsigned int result;
+
+ seconds = 10;
+
+ result = sleep( seconds );
+}