Searched refs:child_stdin (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_write_add_filter_program.c | 66 int child_stdin, child_stdout; member 179 data->child_stdin = -1; in __archive_write_program_allocate() 222 ret = __archive_create_child(cmd, &data->child_stdin, in __archive_write_program_open() 238 if (data->child_stdin == -1) in child_write() 246 ret = write(data->child_stdin, buf, buf_len); in child_write() 252 close(data->child_stdin); in child_write() 253 data->child_stdin = -1; in child_write() 261 fcntl(data->child_stdin, F_SETFL, 0); in child_write() 262 __archive_check_child(data->child_stdin, in child_write() 276 fcntl(data->child_stdin, F_SETFL, 0); in child_write() [all …]
|
| H A D | archive_read_support_filter_program.c | 114 int child_stdin, child_stdout; member 235 if (program->child_stdin != -1) { in child_stop() 236 close(program->child_stdin); in child_stop() 237 program->child_stdin = -1; in child_stop() 343 if (program->child_stdin == -1) { in child_read() 345 __archive_check_child(program->child_stdin, in child_read() 353 close(program->child_stdin); in child_read() 354 program->child_stdin = -1; in child_read() 362 ret = write(program->child_stdin, p, avail); in child_read() 370 __archive_check_child(program->child_stdin, in child_read() [all …]
|
| H A D | filter_fork_posix.c | 74 __archive_create_child(const char *cmd, int *child_stdin, int *child_stdout, in __archive_create_child() argument 202 *child_stdin = stdin_pipe[1]; in __archive_create_child() 203 fcntl(*child_stdin, F_SETFL, O_NONBLOCK); in __archive_create_child()
|
| H A D | filter_fork.h | 34 __archive_create_child(const char *cmd, int *child_stdin, int *child_stdout,
|