Home
last modified time | relevance | path

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

/libuv/docs/code/proc-streams/
H A Dmain.c31 uv_stdio_container_t child_stdio[3]; in main() local
32 child_stdio[0].flags = UV_IGNORE; in main()
33 child_stdio[1].flags = UV_IGNORE; in main()
34 child_stdio[2].flags = UV_INHERIT_FD; in main()
35 child_stdio[2].data.fd = 2; in main()
36 options.stdio = child_stdio; in main()
/libuv/docs/code/cgi/
H A Dmain.c30 uv_stdio_container_t child_stdio[3]; in invoke_cgi_script() local
31 child_stdio[0].flags = UV_IGNORE; in invoke_cgi_script()
32 child_stdio[1].flags = UV_INHERIT_STREAM; in invoke_cgi_script()
33 child_stdio[1].data.stream = (uv_stream_t*) client; in invoke_cgi_script()
34 child_stdio[2].flags = UV_IGNORE; in invoke_cgi_script()
35 options.stdio = child_stdio; in invoke_cgi_script()
/libuv/docs/code/multi-echo-server/
H A Dmain.c78 uv_stdio_container_t child_stdio[3]; in setup_workers() local
79 child_stdio[0].flags = UV_CREATE_PIPE | UV_READABLE_PIPE; in setup_workers()
80 child_stdio[0].data.stream = (uv_stream_t*) &worker->pipe; in setup_workers()
81 child_stdio[1].flags = UV_IGNORE; in setup_workers()
82 child_stdio[2].flags = UV_INHERIT_FD; in setup_workers()
83 child_stdio[2].data.fd = 2; in setup_workers()
85 worker->options.stdio = child_stdio; in setup_workers()
/libuv/test/
H A Dtest-spawn.c1882 uv_stdio_container_t child_stdio[2]; in TEST_IMPL() local
1922 child_stdio[0].flags = UV_INHERIT_STREAM; in TEST_IMPL()
1923 child_stdio[0].data.stream = (uv_stream_t *) &pipe_stdin_child; in TEST_IMPL()
1925 child_stdio[1].flags = UV_INHERIT_STREAM; in TEST_IMPL()
1926 child_stdio[1].data.stream = (uv_stream_t *) &pipe_stdout_child; in TEST_IMPL()
1928 options.stdio = child_stdio; in TEST_IMPL()

Completed in 11 milliseconds