time revision da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968
5023N/Aset prototyped
5023N/Alib nanosleep,usleep,_strftime
5023N/Atyp clock_t = uint32_t
5023N/Atyp time_t = uint32_t
5023N/A
5023N/Aif sys time {
5023N/A #include <sys/time.h>
5023N/A}
5023N/Aendif
5023N/A
5023N/Aif ! mem tm.tm_sec sys/time.h
5023N/A if hdr time {
5023N/A #include <time.h>
5023N/A }
5023N/A endif
5023N/Aendif
5023N/A
5023N/Aif sys times {
5023N/A #include <sys/times.h>
5023N/A}
5023N/Aelse {
5023N/A struct tms
5023N/A {
5023N/A clock_t tms_utime;
5023N/A clock_t tms_stime;
5023N/A clock_t tms_cutime;
5023N/A clock_t tms_cstime;
5023N/A };
5023N/A extern clock_t times(struct tms*);
5023N/A}
5023N/Aendif
5023N/A
5023N/Aif ! mem timeval.tv_sec sys/time.h {
5023N/A struct timeval
5023N/A {
5023N/A time_t tv_sec;
5023N/A time_t tv_usec;
5023N/A };
5023N/A}
5023N/Aendif
5023N/A
5023N/Acat{
5023N/A#ifndef CLOCKS_PER_SEC
5023N/A#define CLOCKS_PER_SEC CLK_TCK
5023N/A#endif
5023N/A}end
5023N/A