14887Schinset prototyped 24887Schinlib nanosleep,usleep,_strftime 34887Schintyp clock_t = uint32_t 44887Schintyp time_t = uint32_t 54887Schin 64887Schinif sys time { 74887Schin #include <sys/time.h> 84887Schin} 94887Schinendif 104887Schin 114887Schinif ! mem tm.tm_sec sys/time.h 124887Schin if hdr time { 134887Schin #include <time.h> 144887Schin } 154887Schin endif 164887Schinendif 174887Schin 184887Schinif sys times { 194887Schin #include <sys/times.h> 204887Schin} 214887Schinelse { 224887Schin struct tms 234887Schin { 244887Schin clock_t tms_utime; 254887Schin clock_t tms_stime; 264887Schin clock_t tms_cutime; 274887Schin clock_t tms_cstime; 284887Schin }; 294887Schin extern clock_t times(struct tms*); 304887Schin} 314887Schinendif 324887Schin 334887Schinif ! mem timeval.tv_sec sys/time.h { 344887Schin struct timeval 354887Schin { 364887Schin time_t tv_sec; 374887Schin time_t tv_usec; 384887Schin }; 394887Schin} 404887Schinendif 414887Schin 424887Schincat{ 43*8462SApril.Chin@Sun.COM#if !defined(CLOCKS_PER_SEC) && defined(CLK_TCK) 444887Schin#define CLOCKS_PER_SEC CLK_TCK 454887Schin#endif 464887Schin}end 47