Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_program.c66 int child_stdin, child_stdout; member
185 data->child_stdout = -1; in __archive_write_program_allocate()
261 if (data->child_stdout == -1) { in child_write()
264 data->child_stdout); in child_write()
269 ret = read(data->child_stdout, in child_write()
275 close(data->child_stdout); in child_write()
276 data->child_stdout = -1; in child_write()
282 data->child_stdout); in child_write()
341 fcntl(data->child_stdout, F_SETFL, 0); in __archive_write_program_close()
374 if (data->child_stdout != -1) in __archive_write_program_close()
[all …]
H A Darchive_read_support_filter_program.c114 int child_stdin, child_stdout; member
234 if (state->child_stdout != -1) { in child_stop()
235 close(state->child_stdout); in child_stop()
236 state->child_stdout = -1; in child_stop()
301 HANDLE handle = (HANDLE)_get_osfhandle(state->child_stdout); in child_read()
329 ret = read(state->child_stdout, buf, requested); in child_read()
344 state->child_stdout); in child_read()
353 fcntl(state->child_stdout, F_SETFL, 0); in child_read()
369 state->child_stdout); in child_read()
374 fcntl(state->child_stdout, F_SETFL, 0); in child_read()
[all …]
H A Dfilter_fork_posix.c74 __archive_create_child(const char *cmd, int *child_stdin, int *child_stdout, in __archive_create_child() argument
175 *child_stdout = stdout_pipe[0]; in __archive_create_child()
176 fcntl(*child_stdout, F_SETFL, O_NONBLOCK); in __archive_create_child()
H A Dfilter_fork.h34 __archive_create_child(const char *cmd, int *child_stdin, int *child_stdout,