1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#ifndef SYS_TIMEB_H #define SYS_TIMEB_H 1 #include <sys/types.h> struct _timeb { time_t time; unsigned short millitm; short timezone; short dstflag; }; #define timeb _timeb #ifdef __cplusplus extern "C" { #endif int ftime(struct timeb *tp); #ifdef __cplusplus }; #endif #endif