|
Last change
on this file since 143 was 18, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
800 bytes
|
| Line | |
|---|
| 1 | /* sys/time.h (emx+gcc) */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef _SYS_TIME_H
|
|---|
| 4 | #define _SYS_TIME_H
|
|---|
| 5 |
|
|---|
| 6 | #include <time.h>
|
|---|
| 7 |
|
|---|
| 8 | #if defined (__cplusplus)
|
|---|
| 9 | extern "C" {
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | #if !defined (_TIMEVAL)
|
|---|
| 13 | #define _TIMEVAL
|
|---|
| 14 | struct timeval
|
|---|
| 15 | {
|
|---|
| 16 | long tv_sec;
|
|---|
| 17 | long tv_usec;
|
|---|
| 18 | };
|
|---|
| 19 | #endif
|
|---|
| 20 |
|
|---|
| 21 | #if !defined (_TIMEZONE)
|
|---|
| 22 | #define _TIMEZONE
|
|---|
| 23 | struct timezone
|
|---|
| 24 | {
|
|---|
| 25 | int tz_minuteswest;
|
|---|
| 26 | int tz_dsttime;
|
|---|
| 27 | };
|
|---|
| 28 | #endif
|
|---|
| 29 |
|
|---|
| 30 | int utimes (__const__ char *, __const__ struct timeval *);
|
|---|
| 31 | int gettimeofday (struct timeval *, struct timezone *);
|
|---|
| 32 | int settimeofday (__const__ struct timeval *, __const__ struct timezone *);
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 | int _utimes (__const__ char *, __const__ struct timeval *);
|
|---|
| 36 | int _gettimeofday (struct timeval *, struct timezone *);
|
|---|
| 37 | int _settimeofday (__const__ struct timeval *, __const__ struct timezone *);
|
|---|
| 38 |
|
|---|
| 39 | #if defined (__cplusplus)
|
|---|
| 40 | }
|
|---|
| 41 | #endif
|
|---|
| 42 |
|
|---|
| 43 | #endif /* not _SYS_TIME_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.