Home
last modified time | relevance | path

Searched refs:out_stream (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/sunpc/other/
H A Dunix2dos.c106 FILE *out_stream = NULL; in main() local
134 out_stream = stdout; in main()
209 out_stream = fopen(out_file_name, "w"); in main()
210 if (out_stream == NULL) { in main()
218 setmode(fileno(out_stream), O_BINARY); in main()
451 out_stream)) in main()
458 fwrite(&tmp_buff[0], 1, 1, out_stream); in main()
460 fclose(out_stream); in main()
465 out_stream = fopen(in_file_name, "w"); in main()
468 setmode(fileno(out_stream), O_BINARY); in main()
[all …]
H A Ddos2unix.c105 FILE *out_stream = NULL; in main() local
129 out_stream = stdout; in main()
206 out_stream = fopen(out_file_name, "w"); in main()
207 if (out_stream == NULL) { in main()
215 setmode(fileno(out_stream), O_BINARY); in main()
451 out_len != (i= fwrite(&tmp_buff[0], 1, out_len, out_stream))) in main()
456 fclose(out_stream); in main()
461 out_stream = fopen(in_file_name, "w"); in main()
464 setmode(fileno(out_stream), O_BINARY); in main()
467 if( num_read != fwrite(tmp_buff, 1, num_read, out_stream)) in main()
[all …]
/titanic_50/usr/src/cmd/sort/common/
H A Dmerge.c430 stream_t out_stream; in merge() local
471 (void) prepare_output_stream(&out_stream, S); in merge()
473 &out_stream, S->m_field_separator); in merge()
481 if (prepare_output_stream(&out_stream, S) == -1) in merge()
484 cur_streamp->s_next, &out_stream, in merge()
491 merge_n_streams(S, cur_streamp, n_merges, &out_stream, in merge()