Searched refs:timearg (Results 1 - 1 of 1) sorted by relevance

/macosx-10.10/system_cmds-643.1.1/shutdown.tproj/
H A Dshutdown.c540 getoffset(char *timearg) argument
549 if (!strcasecmp(timearg, "now")) { /* now */
555 if (*timearg == '+') { /* +minutes */
556 if (!isdigit(*++timearg))
558 if ((offset = atoi(timearg) * 60) < 0)
565 for (p = timearg; *p; ++p)
579 switch(strlen(timearg)) {
582 lt->tm_year = ATOI2(timearg);
594 lt->tm_mon = ATOI2(timearg);
599 lt->tm_mday = ATOI2(timearg);
[all...]

Completed in 113 milliseconds