Lines Matching refs:child_out
70 if ((rv = apr_file_pipe_create_ex(&attr->parent_out, &attr->child_out,
77 attr->child_out = &no_file;
128 apr_file_t *child_out,
133 if (attr->child_out == NULL && attr->parent_out == NULL
134 && child_out == NULL && parent_out == NULL)
135 if ((rv = apr_file_pipe_create(&attr->parent_out, &attr->child_out,
139 if (child_out != NULL && rv == APR_SUCCESS) {
140 if (attr->child_out && (attr->child_out->filedes != -1))
141 rv = apr_file_dup2(attr->child_out, child_out, attr->pool);
143 attr->child_out = NULL;
144 if ((rv = apr_file_dup(&attr->child_out, child_out, attr->pool))
146 rv = apr_file_inherit_set(attr->child_out);
415 if (attr->child_out) {
416 apr_pool_cleanup_kill(apr_file_pool_get(attr->child_out),
417 attr->child_out, apr_unix_file_cleanup);
436 if ((attr->child_out) && (attr->child_out->filedes == -1)) {
439 else if (attr->child_out &&
440 attr->child_out->filedes != STDOUT_FILENO) {
441 dup2(attr->child_out->filedes, STDOUT_FILENO);
442 apr_file_close(attr->child_out);
589 if (attr->child_out && (attr->child_out->filedes != -1)) {
590 apr_file_close(attr->child_out);