diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-09-04 12:47:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-09-04 12:47:25 +0000 |
commit | a0c59d614fd37f36baf7bfd56e7b10e43ad1634a (patch) | |
tree | ca1c50413ded4a0eb5f9889fa1e01a0f97aa3e81 /c/src/tests/psxtests/psxhdrs/signal23.c | |
parent | 2003-09-03 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-a0c59d614fd37f36baf7bfd56e7b10e43ad1634a.tar.bz2 |
2003-09-04 Joel Sherrill <joel@OARcorp.com>
PR 462/tests
* psxhdrs/Makefile.am: Added ualarm.c
* psxhdrs/signal23.c: New file.
Diffstat (limited to '')
-rw-r--r-- | c/src/tests/psxtests/psxhdrs/signal23.c | 28 |
1 files changed, 28 insertions, 0 deletions
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 <signal.h> + +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 ); +} |