source:
CIVL/mods/dev.civl.abc/src/include/abc/sys/time.h@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 235 bytes | |
| Line | |
|---|---|
| 1 | #ifndef __SYSTIME__ |
| 2 | #define __SYSTIME__ |
| 3 | |
| 4 | typedef struct timezone timezone; |
| 5 | |
| 6 | struct timeval{ |
| 7 | double tv_sec; |
| 8 | double tv_usec; |
| 9 | }; |
| 10 | |
| 11 | int gettimeofday(struct timeval * t, void *v){ |
| 12 | t->tv_sec = 0; |
| 13 | t->tv_usec = 0; |
| 14 | return 0; |
| 15 | } |
| 16 | |
| 17 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
