Searched refs:child_stdout (Results 1 - 4 of 4) sorted by relevance

/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Dfilter_fork.h36 __archive_create_child(const char *path, int *child_stdin, int *child_stdout);
H A Darchive_write_set_compression_program.c74 int child_stdin, child_stdout; member in struct:private_data
142 &state->child_stdin, &state->child_stdout)) == -1) {
179 fcntl(state->child_stdout, F_SETFL, 0);
185 if (state->child_stdout == -1) {
187 __archive_check_child(state->child_stdin, state->child_stdout);
192 ret = read(state->child_stdout,
198 close(state->child_stdout);
199 state->child_stdout = -1;
204 __archive_check_child(state->child_stdin, state->child_stdout);
284 fcntl(state->child_stdout, F_SETF
[all...]
H A Darchive_read_support_compression_program.c127 int child_stdin, child_stdout; member in struct:program_filter
233 if (state->child_stdout != -1) {
234 close(state->child_stdout);
235 state->child_stdout = -1;
261 * before close(child_stdout) above to read from the
301 ret = read(state->child_stdout, buf, requested);
316 state->child_stdout);
325 fcntl(state->child_stdout, F_SETFL, 0);
341 state->child_stdout);
346 fcntl(state->child_stdout, F_SETF
[all...]
H A Dfilter_fork.c57 __archive_create_child(const char *path, int *child_stdin, int *child_stdout) argument
105 *child_stdout = stdout_pipe[0];
106 fcntl(*child_stdout, F_SETFL, O_NONBLOCK);

Completed in 58 milliseconds