diff options
Diffstat (limited to 'process_args.c')
-rw-r--r-- | process_args.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/process_args.c b/process_args.c index 3b82500..d316a26 100644 --- a/process_args.c +++ b/process_args.c @@ -2,6 +2,9 @@ #include <stdio.h> #include <stdlib.h> +FILE *lrs_ifp; +FILE *lrs_ofp; + void process_args(int argc, char **argv,char *docstring){ if (argc > 1 && argv[1][0]=='-' && argv[1][1]=='h') { fprintf(stderr,docstring); @@ -16,7 +19,9 @@ void process_args(int argc, char **argv,char *docstring){ if (argc > 2){ freopen(argv[2],"w",stdout); } - + + lrs_ifp = stdin; + lrs_ofp = stdout; } |