Home | History | Annotate | Download | only in other

Lines Matching defs:time

17     -r      Show hardware clock time (--show)
18 -s Set system time from hardware clock (--hctosys)
19 -t Set the system time based on the current timezone (--systz)
21 -w Set hardware clock from system time (--systohc)
62 time_t time;
65 // check for Grenich Mean Time
87 // Get current time in seconds from rtc device. todo: get subsecond time
93 if ((time = mktime(&tm)) < 0) error_exit("mktime failed");
108 /* The value of tm_isdst is positive if daylight saving time is in effect,
115 timeval.tv_sec = time;
118 // Adjust seconds for timezone and daylight saving time
119 // extern long timezone is defined in header sys/time.h
124 char *c = ctime(&time), *s = strrchr(c, '\n');