Lines Matching refs:stream
372 static process_pair *process_get(FILE *stream) in process_get() argument
378 if (ptr->stream == stream) { in process_get()
447 FILE *stream = NULL; in popen_ex() local
586 stream = _fdopen(fno, type); in popen_ex()
588 proc->stream = stream; in popen_ex()
589 return stream; in popen_ex()
592 TSRM_API int pclose(FILE *stream) in pclose() argument
597 if ((process = process_get(stream)) == NULL) { in pclose()
601 fflush(process->stream); in pclose()
602 fclose(process->stream); in pclose()
606 process->stream = NULL; in pclose()