Searched refs:in_file_name (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/sunpc/other/
H A Ddos2unix.c108 char *in_file_name, *out_file_name; local
165 in_file_name = *argv;
185 in_stream = fopen(in_file_name, "r");
187 error("Couldn't open input file %s.", in_file_name);
192 if(!strcmp(in_file_name, out_file_name)){
459 unlink(in_file_name);
461 out_stream = fopen(in_file_name, "w");
468 error("Error writing %s.", in_file_name);
H A Dunix2dos.c110 char *in_file_name, *out_file_name; local
170 in_file_name = *argv;
188 in_stream = fopen(in_file_name, "r");
190 error("Couldn't open input file %s.", in_file_name);
195 if (!strcmp(in_file_name, out_file_name)) {
463 unlink(in_file_name);
465 out_stream = fopen(in_file_name, "w");
474 error("Error writing to %s.", in_file_name);

Completed in 71 milliseconds