Home
last modified time | relevance | path

Searched refs:stdio (Results 1 – 17 of 17) sorted by relevance

/libuv/test/
H A Dtest-spawn.c291 options.stdio = stdio; in TEST_IMPL()
335 options.stdio = stdio; in TEST_IMPL()
389 options.stdio = stdio; in TEST_IMPL()
451 options.stdio = stdio; in TEST_IMPL()
528 options.stdio = stdio; in TEST_IMPL()
596 options.stdio = stdio; in TEST_IMPL()
634 options.stdio = stdio; in TEST_IMPL()
714 options.stdio = stdio; in TEST_IMPL()
794 options.stdio = stdio; in TEST_IMPL()
875 options.stdio = stdio; in TEST_IMPL()
[all …]
H A Dbenchmark-spawn.c104 uv_stdio_container_t stdio[2]; in spawn() local
119 options.stdio = stdio; in spawn()
121 options.stdio[0].flags = UV_IGNORE; in spawn()
122 options.stdio[1].flags = UV_CREATE_PIPE | UV_WRITABLE_PIPE; in spawn()
123 options.stdio[1].data.stream = (uv_stream_t*)&out; in spawn()
H A Dtest-stdio-over-pipes.c122 uv_stdio_container_t stdio[3]; in test_stdio_over_pipes() local
131 options.stdio = stdio; in test_stdio_over_pipes()
132 options.stdio[0].flags = UV_CREATE_PIPE | UV_READABLE_PIPE | in test_stdio_over_pipes()
134 options.stdio[0].data.stream = (uv_stream_t*) ∈ in test_stdio_over_pipes()
135 options.stdio[1].flags = UV_CREATE_PIPE | UV_WRITABLE_PIPE | in test_stdio_over_pipes()
137 options.stdio[1].data.stream = (uv_stream_t*) &out; in test_stdio_over_pipes()
138 options.stdio[2].flags = UV_INHERIT_FD; in test_stdio_over_pipes()
139 options.stdio[2].data.fd = 2; in test_stdio_over_pipes()
H A Dtest-ipc.c288 uv_stdio_container_t stdio[3]; in spawn_helper() local
307 options.stdio = stdio; in spawn_helper()
308 options.stdio_count = ARRAY_SIZE(stdio); in spawn_helper()
310 stdio[0].flags = UV_CREATE_PIPE | UV_READABLE_PIPE | UV_WRITABLE_PIPE; in spawn_helper()
311 stdio[0].data.stream = (uv_stream_t*) channel; in spawn_helper()
312 stdio[1].flags = UV_INHERIT_FD; in spawn_helper()
313 stdio[1].data.fd = 1; in spawn_helper()
314 stdio[2].flags = UV_INHERIT_FD; in spawn_helper()
315 stdio[2].data.fd = 2; in spawn_helper()
/libuv/docs/src/
H A Dprocess.rst32 uv_stdio_container_t* stdio;
100 Container for each stdio handle or fd passed to a child process.
114 Flags specifying how a stdio should be transmitted to the child process.
209 .. c:member:: uv_stdio_container_t* uv_process_options_t.stdio
211 The `stdio` field points to an array of :c:type:`uv_stdio_container_t`
213 the child process. The convention is that stdio[0] points to stdin,
232 Flags specifying how the stdio container should be passed to the child.
H A Dmisc.rst249 type of the stdio streams.
/libuv/docs/code/proc-streams/
H A Dmain.c36 options.stdio = child_stdio; in main()
/libuv/docs/code/cgi/
H A Dmain.c35 options.stdio = child_stdio; in invoke_cgi_script()
/libuv/src/unix/
H A Dprocess.c1000 err = uv__process_init_stdio(options->stdio + i, pipes[i]); in uv_spawn()
1047 err = uv__process_open_stream(options->stdio + i, pipes[i]); in uv_spawn()
1052 uv__process_close_stream(options->stdio + i); in uv_spawn()
1066 if (options->stdio[i].flags & (UV_INHERIT_FD | UV_INHERIT_STREAM)) in uv_spawn()
/libuv/docs/code/multi-echo-server/
H A Dmain.c85 worker->options.stdio = child_stdio; in setup_workers()
/libuv/docs/src/guide/
H A Dprocesses.rst185 The file descriptors of the child process are set using the ``stdio`` field in
187 file descriptors being set. ``uv_process_options_t.stdio`` is an array of
202 used. If the first three ``stdio`` fields are marked as ``UV_IGNORE`` they'll
268 New stdio Pipes
/libuv/src/win/
H A Dprocess-stdio.c203 fdopt = options->stdio[i]; in uv__stdio_create()
H A Dprocess.c1028 if (options->stdio[i].flags & UV_INHERIT_FD) in uv_spawn()
1109 const uv_stdio_container_t* fdopt = &options->stdio[i]; in uv_spawn()
/libuv/
H A DMakefile.am79 src/win/process-stdio.c \
260 test/test-stdio-over-pipes.c \
H A DCMakeLists.txt216 src/win/process-stdio.c
633 test/test-stdio-over-pipes.c
H A DChangeLog2775 * unix,spawn: respect user stdio flags for new pipe (Jameson Nash)
2845 * win: CREATE_NO_WINDOW when stdio is not inherited (Nick Logan)
4040 * include: add stdio.h to uv.h (Saúl Ibarra Corretgé)
5317 * process: don't close stdio fds during spawn (Tonis Tiigi)
5367 * process: close stdio after dup2'ing it (Fedor Indutny)
5380 * process: close stdio after dup2'ing it (Fedor Indutny)
/libuv/include/
H A Duv.h1082 uv_stdio_container_t* stdio; member

Completed in 101 milliseconds