mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
2003-09-04 Joel Sherrill <joel@OARcorp.com>
PR 462/tests * psxhdrs/Makefile.am: Added ualarm.c * psxhdrs/signal23.c: New file.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
PR 462/tests
|
||||||
|
* psxhdrs/Makefile.am: Added ualarm.c
|
||||||
|
* psxhdrs/signal23.c: New file.
|
||||||
|
|
||||||
2003-09-03 Joel Sherrill <joel@OARcorp.com>
|
2003-09-03 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
PR 463/tests
|
PR 463/tests
|
||||||
|
|||||||
@@ -20,10 +20,10 @@ C_FILES = clock01.c clock02.c clock03.c clock04.c clock05.c clock06.c \
|
|||||||
signal01.c signal02.c signal03.c signal04.c signal05.c signal06.c \
|
signal01.c signal02.c signal03.c signal04.c signal05.c signal06.c \
|
||||||
signal07.c signal08.c signal09.c signal10.c signal11.c signal12.c \
|
signal07.c signal08.c signal09.c signal10.c signal11.c signal12.c \
|
||||||
signal13.c signal14.c signal15.c signal16.c signal17.c signal18.c \
|
signal13.c signal14.c signal15.c signal16.c signal17.c signal18.c \
|
||||||
signal19.c signal20.c signal21.c signal22.c sync01.c sync02.c sync03.c \
|
signal19.c signal20.c signal21.c signal22.c signal23.c sync01.c sync02.c \
|
||||||
time01.c time02.c time03.c time04.c time05.c time06.c time07.c time08.c \
|
sync03.c time01.c time02.c time03.c time04.c time05.c time06.c time07.c \
|
||||||
time09.c time10.c time11.c time12.c time13.c timer01.c timer02.c timer03.c \
|
time08.c time09.c time10.c time11.c time12.c time13.c timer01.c timer02.c \
|
||||||
timer04.c timer05.c timer06.c timer07.c
|
timer03.c timer04.c timer05.c timer06.c timer07.c
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
||||||
|
|
||||||
SRCS = $(C_FILES)
|
SRCS = $(C_FILES)
|
||||||
|
|||||||
28
c/src/tests/psxtests/psxhdrs/signal23.c
Normal file
28
c/src/tests/psxtests/psxhdrs/signal23.c
Normal file
@@ -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 );
|
||||||
|
}
|
||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
PR 462/tests
|
||||||
|
* psxhdrs/Makefile.am: Added ualarm.c
|
||||||
|
* psxhdrs/signal23.c: New file.
|
||||||
|
|
||||||
2003-09-03 Joel Sherrill <joel@OARcorp.com>
|
2003-09-03 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
PR 463/tests
|
PR 463/tests
|
||||||
|
|||||||
@@ -20,10 +20,10 @@ C_FILES = clock01.c clock02.c clock03.c clock04.c clock05.c clock06.c \
|
|||||||
signal01.c signal02.c signal03.c signal04.c signal05.c signal06.c \
|
signal01.c signal02.c signal03.c signal04.c signal05.c signal06.c \
|
||||||
signal07.c signal08.c signal09.c signal10.c signal11.c signal12.c \
|
signal07.c signal08.c signal09.c signal10.c signal11.c signal12.c \
|
||||||
signal13.c signal14.c signal15.c signal16.c signal17.c signal18.c \
|
signal13.c signal14.c signal15.c signal16.c signal17.c signal18.c \
|
||||||
signal19.c signal20.c signal21.c signal22.c sync01.c sync02.c sync03.c \
|
signal19.c signal20.c signal21.c signal22.c signal23.c sync01.c sync02.c \
|
||||||
time01.c time02.c time03.c time04.c time05.c time06.c time07.c time08.c \
|
sync03.c time01.c time02.c time03.c time04.c time05.c time06.c time07.c \
|
||||||
time09.c time10.c time11.c time12.c time13.c timer01.c timer02.c timer03.c \
|
time08.c time09.c time10.c time11.c time12.c time13.c timer01.c timer02.c \
|
||||||
timer04.c timer05.c timer06.c timer07.c
|
timer03.c timer04.c timer05.c timer06.c timer07.c
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
||||||
|
|
||||||
SRCS = $(C_FILES)
|
SRCS = $(C_FILES)
|
||||||
|
|||||||
28
testsuites/psxtests/psxhdrs/signal23.c
Normal file
28
testsuites/psxtests/psxhdrs/signal23.c
Normal file
@@ -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 );
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user