OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:stdin_pipe
(Results
1 - 4
of
4
) sorted by relevancy
/src/external/bsd/libarchive/dist/libarchive/
filter_fork_posix.c
78
int
stdin_pipe
[2], stdout_pipe[2], tmp;
local
99
if (pipe(
stdin_pipe
) == -1)
101
if (
stdin_pipe
[0] == 1 /* stdout */) {
102
if ((tmp = dup(
stdin_pipe
[0])) == -1)
104
close(
stdin_pipe
[0]);
105
stdin_pipe
[0] = tmp;
133
r = posix_spawn_file_actions_addclose(&actions,
stdin_pipe
[1]);
140
r = posix_spawn_file_actions_adddup2(&actions,
stdin_pipe
[0], 0);
143
if (
stdin_pipe
[0] != 0 /* stdin */) {
144
r = posix_spawn_file_actions_addclose(&actions,
stdin_pipe
[0])
[
all
...]
/src/external/mit/libuv/dist/test/
test-pipe-close-stdout-read-stdin.c
61
uv_pipe_t
stdin_pipe
;
local
86
r = uv_pipe_init(uv_default_loop(), (uv_pipe_t *)&
stdin_pipe
, 0);
89
r = uv_pipe_open((uv_pipe_t *)&
stdin_pipe
, 0);
92
r = uv_read_start((uv_stream_t *)&
stdin_pipe
, alloc_buffer, read_stdin);
/src/external/mit/libuv/dist/docs/code/uvtee/
main.c
14
uv_pipe_t
stdin_pipe
;
variable
47
uv_close((uv_handle_t *)&
stdin_pipe
, NULL);
64
uv_pipe_init(loop, &
stdin_pipe
, 0);
65
uv_pipe_open(&
stdin_pipe
, 0);
75
uv_read_start((uv_stream_t*)&
stdin_pipe
, alloc_buffer, read_stdin);
/src/external/bsd/cron/dist/
do_command.c
98
write_data(char *volatile input_data, int *
stdin_pipe
, int *stdout_pipe)
100
FILE *out = fdopen(
stdin_pipe
[WRITE_PIPE], "w");
144
*
stdin_pipe
[WRITE_PIPE] to be closed, too.
311
exec_user_command(entry *e, char **envp, char *usernm, int *
stdin_pipe
,
352
(void)close(
stdin_pipe
[WRITE_PIPE]);
358
if (
stdin_pipe
[READ_PIPE] != STDIN) {
359
(void)dup2(
stdin_pipe
[READ_PIPE], STDIN);
360
(void)close(
stdin_pipe
[READ_PIPE]);
489
int
stdin_pipe
[2], stdout_pipe[2];
local
517
if (pipe(
stdin_pipe
) == -1) /* child's stdin *
[
all
...]
Completed in 68 milliseconds
Indexes created Tue Mar 03 05:31:39 UTC 2026