Searched refs:child_stdin (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13-stable/contrib/libarchive/libarchive/ |
| HD | archive_write_add_filter_program.c | 66 int child_stdin, child_stdout; member 184 data->child_stdin = -1; in __archive_write_program_allocate() 223 ret = __archive_create_child(cmd, &data->child_stdin, in __archive_write_program_open() 239 if (data->child_stdin == -1) in child_write() 247 ret = write(data->child_stdin, buf, buf_len); in child_write() 253 close(data->child_stdin); in child_write() 254 data->child_stdin = -1; in child_write() 262 fcntl(data->child_stdin, F_SETFL, 0); in child_write() 263 __archive_check_child(data->child_stdin, in child_write() 277 fcntl(data->child_stdin, F_SETFL, 0); in child_write() [all …]
|
| HD | archive_read_support_filter_program.c | 114 int child_stdin, child_stdout; member 230 if (state->child_stdin != -1) { in child_stop() 231 close(state->child_stdin); in child_stop() 232 state->child_stdin = -1; in child_stop() 341 if (state->child_stdin == -1) { in child_read() 343 __archive_check_child(state->child_stdin, in child_read() 351 close(state->child_stdin); in child_read() 352 state->child_stdin = -1; in child_read() 360 ret = write(state->child_stdin, p, avail); in child_read() 368 __archive_check_child(state->child_stdin, in child_read() [all …]
|
| HD | filter_fork_posix.c | 74 __archive_create_child(const char *cmd, int *child_stdin, int *child_stdout, in __archive_create_child() argument 173 *child_stdin = stdin_pipe[1]; in __archive_create_child() 174 fcntl(*child_stdin, F_SETFL, O_NONBLOCK); in __archive_create_child()
|
| HD | filter_fork.h | 34 __archive_create_child(const char *cmd, int *child_stdin, int *child_stdout,
|