comparison rvinterf/lowlevel/rvtdump.c @ 195:549e6cd1e77d

rvinterf: support for socketpair invokation
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 26 Nov 2013 20:23:38 +0000
parents 3256dc6e84ae
children 2f285f20d617
comparison
equal deleted inserted replaced
194:9e4771bf865f 195:549e6cd1e77d
19 19
20 char *logfname; 20 char *logfname;
21 FILE *logF; 21 FILE *logF;
22 time_t logtime; 22 time_t logtime;
23 int background; 23 int background;
24 int no_output; /* for output.c */
24 25
25 main(argc, argv) 26 main(argc, argv)
26 char **argv; 27 char **argv;
27 { 28 {
28 extern char *optarg; 29 extern char *optarg;
32 33
33 while ((c = getopt(argc, argv, "bB:d:l:")) != EOF) 34 while ((c = getopt(argc, argv, "bB:d:l:")) != EOF)
34 switch (c) { 35 switch (c) {
35 case 'b': 36 case 'b':
36 background++; 37 background++;
38 no_output++; /* for output.c */
37 continue; 39 continue;
38 case 'B': 40 case 'B':
39 baudrate_name = optarg; 41 baudrate_name = optarg;
40 continue; 42 continue;
41 case 'd': 43 case 'd':