summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmsgq01/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 13:38:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 13:38:00 +0000
commita8df60b31dfff4a62cd3cf14ec27efb044bcc85c (patch)
tree27d76ab4b45695685a8933580e076977d942baee /testsuites/psxtests/psxmsgq01/init.c
parentNew files. (diff)
downloadrtems-a8df60b31dfff4a62cd3cf14ec27efb044bcc85c.tar.bz2
New test for POSIX Message Queues added.
Diffstat (limited to 'testsuites/psxtests/psxmsgq01/init.c')
-rw-r--r--testsuites/psxtests/psxmsgq01/init.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c
new file mode 100644
index 0000000000..f6cebb4635
--- /dev/null
+++ b/testsuites/psxtests/psxmsgq01/init.c
@@ -0,0 +1,28 @@
+/*
+ * COPYRIGHT (c) 1989-1998.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#define CONFIGURE_INIT
+#include "system.h"
+#include <sched.h>
+
+void *POSIX_Init(
+ void *argument
+)
+{
+
+ puts( "\n\n*** POSIX MESSAGE QUEUE TEST ***" );
+
+ puts( "*** END OF POSIX MESSAGE QUEUE TEST ***" );
+ exit( 0 );
+
+ return NULL; /* just so the compiler thinks we returned something */
+}