Lines Matching defs:argv
11 int alarm_main(int argc, char *argv[])
34 //c = getopt(argc, argv, "uw:");
35 c = getopt(argc, argv, "uwat:");
55 argv[0], optopt);
60 fprintf(stderr,"%s [-uwa] [-t type] [seconds]\n", argv[0]);
108 //strptime(argv[optind], NULL, &tm);
119 ts.tv_sec += strtol(argv[optind], NULL, 0);
120 //strtotimeval(argv[optind], &tv);
122 printf("time %s -> %ld.%09ld\n", argv[optind], ts.tv_sec, ts.tv_nsec);
146 fprintf(stderr,"%s [-u] [date]\n", argv[0]);