Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_program.c67 int child_stdin, child_stdout; member
186 data->child_stdout = -1; in __archive_write_program_allocate()
262 if (data->child_stdout == -1) { in child_write()
265 data->child_stdout); in child_write()
270 ret = read(data->child_stdout, in child_write()
276 close(data->child_stdout); in child_write()
277 data->child_stdout = -1; in child_write()
283 data->child_stdout); in child_write()
342 fcntl(data->child_stdout, F_SETFL, 0); in __archive_write_program_close()
375 if (data->child_stdout != -1) in __archive_write_program_close()
[all …]
H A Darchive_read_support_filter_program.c115 int child_stdin, child_stdout; member
235 if (state->child_stdout != -1) { in child_stop()
236 close(state->child_stdout); in child_stop()
237 state->child_stdout = -1; in child_stop()
302 HANDLE handle = (HANDLE)_get_osfhandle(state->child_stdout); in child_read()
330 ret = read(state->child_stdout, buf, requested); in child_read()
345 state->child_stdout); in child_read()
354 fcntl(state->child_stdout, F_SETFL, 0); in child_read()
370 state->child_stdout); in child_read()
375 fcntl(state->child_stdout, F_SETFL, 0); in child_read()
[all …]
H A Dfilter_fork_posix.c76 __archive_create_child(const char *cmd, int *child_stdin, int *child_stdout, in __archive_create_child() argument
177 *child_stdout = stdout_pipe[0]; in __archive_create_child()
178 fcntl(*child_stdout, F_SETFL, O_NONBLOCK); in __archive_create_child()
H A Dfilter_fork.h36 __archive_create_child(const char *cmd, int *child_stdin, int *child_stdout,