Lines Matching defs:time
19 -r Show hardware clock time (--show)
20 -s Set system time from hardware clock (--hctosys)
21 -t Set the system time based on the current timezone (--systz)
23 -w Set hardware clock from system time (--systohc)
64 time_t time;
89 // Get current time in seconds from rtc device. todo: get subsecond time
95 if ((time = mktime(&tm)) < 0) error_exit("mktime failed");
110 /* The value of tm_isdst is positive if daylight saving time is in effect,
117 timeval.tv_sec = time;
120 // Adjust seconds for timezone and daylight saving time
121 // extern long timezone is defined in header sys/time.h
126 char *c = ctime(&time), *s = strrchr(c, '\n');