- Timestamp:
- Apr 1, 1999, 6:19:08 PM (21 years ago)
- Branches:
- 4.11, master, netdemos-4-5-branch, network-demos-4-10-branch, network-demos-4-6-branch, network-demos-4-7-branch, network-demos-4-8-branch, network-demos-4-9-branch, rtems-4-5-branch
- Children:
- 83c159d
- Parents:
- ce34271
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ttcp/rtems_ttcp.c
rce34271 rba9c45c 48 48 { 49 49 return 0;; 50 }51 52 int53 gettimeofday (struct timeval *tp, struct timezone *tzp)54 {55 rtems_clock_time_value now;56 57 rtems_clock_get (RTEMS_CLOCK_GET_TIME_VALUE, &now);58 tp->tv_sec = now.seconds;59 tp->tv_usec = now.microseconds;60 return 0;61 50 } 62 51 … … 230 219 #define main rtems_ttcp_main 231 220 #define exit(code) close(fd),rtems_ttcp_exit(code) 232 #define read_timer rtems_read_timer233 #undef delay234 221 235 222 #include "ttcp_orig/ttcp.c"
Note: See TracChangeset
for help on using the changeset viewer.