Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_program.c66 int child_stdin, child_stdout; member
180 data->child_stdout = -1; in __archive_write_program_allocate()
223 &data->child_stdout, &data->child); in __archive_write_program_open()
254 fcntl(data->child_stdout, F_SETFL, 0); in child_write()
260 if (data->child_stdout == -1) { in child_write()
263 data->child_stdout); in child_write()
268 ret = read(data->child_stdout, in child_write()
274 close(data->child_stdout); in child_write()
275 data->child_stdout = -1; in child_write()
281 data->child_stdout); in child_write()
[all …]
H A Darchive_read_support_filter_program.c114 int child_stdin, child_stdout; member
239 if (program->child_stdout != -1) { in child_stop()
240 close(program->child_stdout); in child_stop()
241 program->child_stdout = -1; in child_stop()
303 HANDLE handle = (HANDLE)_get_osfhandle(program->child_stdout); in child_read()
331 ret = read(program->child_stdout, buf, requested); in child_read()
346 program->child_stdout); in child_read()
355 fcntl(program->child_stdout, F_SETFL, 0); in child_read()
371 program->child_stdout); in child_read()
376 fcntl(program->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
204 *child_stdout = stdout_pipe[0]; in __archive_create_child()
205 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,