1N/Ahdr utime
1N/Alib gettimeofday,setitimer
1N/Amem timeval.tv_usec sys/time.h
1N/Atst lib_2_timeofday note{ 2 arg gettimeofday() }end link{
1N/A #include <sys/types.h>
1N/A #include <sys/time.h>
1N/A int main()
1N/A {
1N/A struct timeval tv;
1N/A struct timezone tz;
1N/A return gettimeofday(&tv, &tz);
1N/A }
1N/A}end
1N/Atst lib_1_timeofday note{ 1 arg gettimeofday() }end link{
1N/A #include <sys/types.h>
1N/A #include <sys/time.h>
1N/A int main()
1N/A {
1N/A struct timeval tv;
1N/A return gettimeofday(&tv);
1N/A }
1N/A}end
1N/Acat{
1N/A #undef _def_time
1N/A #include <times.h>
1N/A #define _def_time 1
1N/A #undef timeofday
1N/A #if _lib_2_timeofday
1N/A #define timeofday(p) gettimeofday(p,(struct timezone*)0)
1N/A #else
1N/A #if _lib_1_timeofday
1N/A #define timeofday(p) gettimeofday(p)
1N/A #endif
1N/A #endif
1N/A}end