Home
last modified time | relevance | path

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

/external/bison/djgpp/
Dsubpipe.c182 …int to_in_fd = open(tmp_file_name[1], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); /* pipe from m4 to … in end_of_output_subpipe() local
209 if (to_in_fd < 0) in end_of_output_subpipe()
214 if (dup2(to_in_fd, STDOUT_FILENO) < 0) in end_of_output_subpipe()
217 remove_tmp_file(to_in_fd, tmp_file_name[1]); in end_of_output_subpipe()
220 close(to_in_fd); in end_of_output_subpipe()
254 to_in_fd = open(tmp_file_name[1], O_RDONLY, S_IRUSR); /* pipe from m4 to bison. */ in end_of_output_subpipe()
255 if (to_in_fd < 0) in end_of_output_subpipe()
260 if (dup2(to_in_fd, STDIN_FILENO) < 0) in end_of_output_subpipe()
263 remove_tmp_file(to_in_fd, tmp_file_name[1]); in end_of_output_subpipe()
267 close(to_in_fd); in end_of_output_subpipe()