From a0c59d614fd37f36baf7bfd56e7b10e43ad1634a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 4 Sep 2003 12:47:25 +0000 Subject: 2003-09-04 Joel Sherrill PR 462/tests * psxhdrs/Makefile.am: Added ualarm.c * psxhdrs/signal23.c: New file. --- c/src/tests/psxtests/psxhdrs/signal23.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 c/src/tests/psxtests/psxhdrs/signal23.c (limited to 'c/src/tests/psxtests/psxhdrs/signal23.c') diff --git a/c/src/tests/psxtests/psxhdrs/signal23.c b/c/src/tests/psxtests/psxhdrs/signal23.c new file mode 100644 index 0000000000..de5c853130 --- /dev/null +++ b/c/src/tests/psxtests/psxhdrs/signal23.c @@ -0,0 +1,28 @@ +/* + * This test file is used to verify that the header files associated with + * invoking this function are correct. + * + * COPYRIGHT (c) 1989-2003. + * On-Line Applications Research Corporation (OAR). + * + * 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$ + */ + +#include + +useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval)); +void test( void ) +{ + useconds_t useconds; + useconds_t interval; + useconds_t result; + + useconds = 10; + interval = 10; + + result = ualarm( useconds, interval ); +} -- cgit v1.2.3