Home
last modified time | relevance | path

Searched refs:stdin_pipe (Results 1 – 2 of 2) sorted by relevance

/libuv/docs/code/uvtee/
H A Dmain.c14 uv_pipe_t stdin_pipe; variable
47 uv_close((uv_handle_t *)&stdin_pipe, NULL); in read_stdin()
64 uv_pipe_init(loop, &stdin_pipe, 0); in main()
65 uv_pipe_open(&stdin_pipe, 0); in main()
75 uv_read_start((uv_stream_t*)&stdin_pipe, alloc_buffer, read_stdin); in main()
/libuv/test/
H A Dtest-pipe-close-stdout-read-stdin.c61 uv_pipe_t stdin_pipe; in TEST_IMPL() local
86 r = uv_pipe_init(uv_default_loop(), (uv_pipe_t *)&stdin_pipe, 0); in TEST_IMPL()
89 r = uv_pipe_open((uv_pipe_t *)&stdin_pipe, 0); in TEST_IMPL()
92 r = uv_read_start((uv_stream_t *)&stdin_pipe, alloc_buffer, read_stdin); in TEST_IMPL()

Completed in 5 milliseconds