Searched defs:in_stream (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/sunpc/other/
H A Ddos2unix.c104 FILE *in_stream = NULL; local
128 in_stream = stdin;
185 in_stream = fopen(in_file_name, "r");
186 if (in_stream == NULL)
214 setmode(fileno(in_stream), O_BINARY);
391 num_read = fread(&tmp_buff[0], 1, 100, in_stream);
454 } while (!feof(in_stream));
457 fclose(in_stream);
460 in_stream = fopen(out_file_name, "r");
463 setmode(fileno(in_stream), O_BINAR
[all...]
H A Dunix2dos.c105 FILE *in_stream = NULL; local
133 in_stream = stdin;
188 in_stream = fopen(in_file_name, "r");
189 if (in_stream == NULL)
217 setmode(fileno(in_stream), O_BINARY);
400 num_read = fread(&tmp_buff[100], 1, 100, in_stream);
454 } while (!feof(in_stream));
461 fclose(in_stream);
464 in_stream = fopen(out_file_name, "r");
467 setmode(fileno(in_stream), O_BINAR
[all...]

Completed in 46 milliseconds