xref: /OpenGrok/opengrok-indexer/src/test/resources/repositories/teamware/SCCS/s.main.c (revision 526aca296b36248b63005c7560b2960d5a977be0)
1 h45802
2 s 00003/00003/00009
3 d D 1.2 08/08/12 22:11:54 trond 2 1
4 c Fixed lint warnings
5 e
6 s 00012/00000/00000
7 d D 1.1 08/08/12 22:09:23 trond 1 0
8 c date and time created 08/08/12 22:09:23 by trond
9 e
10 u
11 U
12 f e 0
13 t
14 T
15 I 1
16 #include "header.h"
17 
18 int main(int argc, char **argv) {
19 
20 D 2
21    printf("Program %s executed with the following arguments:\n", argv[0]);
22 E 2
23 I 2
24    (void)printf("Program %s executed with the following arguments:\n", argv[0]);
25 E 2
26    for (int i = 1; i < argc; ++i) {
27 D 2
28       printf("[%s] ", argv[i]);
29 E 2
30 I 2
31       (void)printf("[%s] ", argv[i]);
32 E 2
33    }
34 D 2
35    printf("\n");
36 E 2
37 I 2
38    (void)printf("\n");
39 E 2
40 
41    return EXIT_SUCCESS;
42 }
43 E 1
44