23 lines
263 B
C
23 lines
263 B
C
|
#ifndef _SYS_TIME_H
|
||
|
#define _SYS_TIME_H
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
struct timeval {
|
||
|
long tv_sec;
|
||
|
long tv_usec;
|
||
|
};
|
||
|
|
||
|
typedef struct timestruc {
|
||
|
time_t tv_sec;
|
||
|
long tv_nsec;
|
||
|
} timestruc_t;
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* _SYS_TIME_H */
|