Home | History | Annotate | Download | only in src

Lines Matching refs:err_fd

682 	int err_fd[2];
714 retval = pipe(err_fd);
736 retval = dup2(err_fd[PIPE_WRITE], STDERR_FILENO);
752 retval = close(err_fd[PIPE_READ]);
777 retval = close(err_fd[PIPE_WRITE]);
778 err_fd[PIPE_WRITE] = -1;
809 retval = read_from_pipe_to_data(sh, initial_len, err_fd[PIPE_READ], &err_data_read, &err_data_read_len);
813 retval = close(err_fd[PIPE_READ]);
814 err_fd[PIPE_READ] = -1;
853 if (err_fd[PIPE_READ] != -1) {
854 close(err_fd[PIPE_READ]);
856 if (err_fd[PIPE_WRITE] != -1) {
857 close(err_fd[PIPE_WRITE]);