changeset 27 | 81a574d60c15 |
parent 9 | c3fecc82ade6 |
child 77 | 49e0babccb23 |
26:d227047a3e88 | 27:81a574d60c15 |
---|---|
8 #include <time.h> |
8 #include <time.h> |
9 |
9 |
10 int main (int argc, char **argv) |
10 int main (int argc, char **argv) |
11 { |
11 { |
12 time_t t; |
12 time_t t; |
13 |
|
13 struct tm *time_str; |
14 struct tm *time_str; |
15 |
|
14 int start, end; |
16 int start, end; |
15 |
17 |
16 if (argc != 2) { |
18 if (argc != 2) { |
17 printf ("Usage: %s \"<command>\"\n", argv[0]); |
19 printf ("Usage: %s \"<command>\"\n", argv[0]); |
18 return EXIT_FAILURE; |
20 return EXIT_FAILURE; |