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