Changeset bfded728 in rtems
- Timestamp:
- 01/04/00 14:16:00 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 590eb87
- Parents:
- 36155ebb
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/tests/itrontests/itrontask03/task1.c
r36155ebb rbfded728 23 23 { 24 24 ER status; 25 PRI previous_priority;26 25 27 26 /* -
c/src/tests/itrontests/itrontime01/init.c
r36155ebb rbfded728 45 45 printf( "Time between 1970 and 1985: %d\n", s_time ); 46 46 printf( "Time from 1985: %d\n", r_time ); 47 printf("milliseconds: % f\n",m_sec);47 printf("milliseconds: %ld\n",m_sec); 48 48 49 49 return 0; -
c/src/tests/libtests/termios/init.c
r36155ebb rbfded728 41 41 #include <errno.h> 42 42 #include <string.h> 43 44 int fileno( FILE *stream); /* beyond ANSI */ 43 45 44 46 /* -
c/src/tests/psxtests/psx08/task1.c
r36155ebb rbfded728 26 26 ) 27 27 { 28 int status;29 30 28 puts( "Task_1: exitting" ); 31 29 -
c/src/tests/psxtests/psxhdrs/proc03.c
r36155ebb rbfded728 13 13 */ 14 14 15 #include <unistd.h> 15 16 #include <sys/types.h> 16 17 -
c/src/tests/psxtests/psxhdrs/proc04.c
r36155ebb rbfded728 13 13 */ 14 14 15 #include <unistd.h> 15 16 #include <sys/types.h> 16 17 -
c/src/tests/psxtests/psxhdrs/proc05.c
r36155ebb rbfded728 13 13 */ 14 14 15 #include <unistd.h> 15 16 #include <sys/types.h> 16 17 -
c/src/tests/psxtests/psxhdrs/proc06.c
r36155ebb rbfded728 13 13 */ 14 14 15 #include <unistd.h> 15 16 #include <sys/types.h> 16 17 -
c/src/tests/psxtests/psxtime/test.c
r36155ebb rbfded728 27 27 * List of dates and times to test. 28 28 */ 29 #define NUMBER_OF_DATES 729 #define NUMBER_OF_DATES 8 30 30 rtems_time_of_day Dates[ NUMBER_OF_DATES ] = { 31 31 /* YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, TICKS */ … … 68 68 result = gettimeofday( &tv, 0 ); 69 69 assert( result == 0 ); 70 printf( "gettimeofday: %s", ctime( &tv.tv_sec ) ); 70 a_time_t = tv.tv_sec; /* ctime() takes a time_t */ 71 printf( "gettimeofday: %s", ctime( &a_time_t) ); 71 72 72 73 a_time_t = time( 0 ); -
c/src/tests/sptests/sp26/init.c
r36155ebb rbfded728 30 30 ) 31 31 { 32 rtems_status_code status;33 34 32 puts( "\n\n*** TEST 26 ***" ); 35 33 -
c/src/tests/sptests/sp26/system.h
r36155ebb rbfded728 22 22 ); 23 23 24 rtems_task Task_1( 25 rtems_task_argument argument 26 ); 24 void task1(void); 27 25 28 26 /* configuration information */ -
c/src/tests/sptests/sp29/init.c
r36155ebb rbfded728 26 26 subtask (rtems_task_argument arg) 27 27 { 28 int i;29 28 rtems_status_code sc; 30 29 rtems_id sem = (rtems_id)arg; -
testsuites/itrontests/itrontask03/task1.c
r36155ebb rbfded728 23 23 { 24 24 ER status; 25 PRI previous_priority;26 25 27 26 /* -
testsuites/itrontests/itrontime01/init.c
r36155ebb rbfded728 45 45 printf( "Time between 1970 and 1985: %d\n", s_time ); 46 46 printf( "Time from 1985: %d\n", r_time ); 47 printf("milliseconds: % f\n",m_sec);47 printf("milliseconds: %ld\n",m_sec); 48 48 49 49 return 0; -
testsuites/libtests/termios/init.c
r36155ebb rbfded728 41 41 #include <errno.h> 42 42 #include <string.h> 43 44 int fileno( FILE *stream); /* beyond ANSI */ 43 45 44 46 /* -
testsuites/psxtests/psx08/task1.c
r36155ebb rbfded728 26 26 ) 27 27 { 28 int status;29 30 28 puts( "Task_1: exitting" ); 31 29 -
testsuites/psxtests/psxhdrs/proc03.c
r36155ebb rbfded728 13 13 */ 14 14 15 #include <unistd.h> 15 16 #include <sys/types.h> 16 17 -
testsuites/psxtests/psxhdrs/proc04.c
r36155ebb rbfded728 13 13 */ 14 14 15 #include <unistd.h> 15 16 #include <sys/types.h> 16 17 -
testsuites/psxtests/psxhdrs/proc05.c
r36155ebb rbfded728 13 13 */ 14 14 15 #include <unistd.h> 15 16 #include <sys/types.h> 16 17 -
testsuites/psxtests/psxhdrs/proc06.c
r36155ebb rbfded728 13 13 */ 14 14 15 #include <unistd.h> 15 16 #include <sys/types.h> 16 17 -
testsuites/psxtests/psxtime/test.c
r36155ebb rbfded728 27 27 * List of dates and times to test. 28 28 */ 29 #define NUMBER_OF_DATES 729 #define NUMBER_OF_DATES 8 30 30 rtems_time_of_day Dates[ NUMBER_OF_DATES ] = { 31 31 /* YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, TICKS */ … … 68 68 result = gettimeofday( &tv, 0 ); 69 69 assert( result == 0 ); 70 printf( "gettimeofday: %s", ctime( &tv.tv_sec ) ); 70 a_time_t = tv.tv_sec; /* ctime() takes a time_t */ 71 printf( "gettimeofday: %s", ctime( &a_time_t) ); 71 72 72 73 a_time_t = time( 0 ); -
testsuites/sptests/sp26/init.c
r36155ebb rbfded728 30 30 ) 31 31 { 32 rtems_status_code status;33 34 32 puts( "\n\n*** TEST 26 ***" ); 35 33 -
testsuites/sptests/sp26/system.h
r36155ebb rbfded728 22 22 ); 23 23 24 rtems_task Task_1( 25 rtems_task_argument argument 26 ); 24 void task1(void); 27 25 28 26 /* configuration information */ -
testsuites/sptests/sp29/init.c
r36155ebb rbfded728 26 26 subtask (rtems_task_argument arg) 27 27 { 28 int i;29 28 rtems_status_code sc; 30 29 rtems_id sem = (rtems_id)arg;
Note: See TracChangeset
for help on using the changeset viewer.