Home
last modified time | relevance | path

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

/libuv/src/win/
H A Dprocess-stdio.c201 uv_stdio_container_t fdopt; in uv__stdio_create() local
203 fdopt = options->stdio[i]; in uv__stdio_create()
205 fdopt.flags = UV_IGNORE; in uv__stdio_create()
235 uv_pipe_t* parent_pipe = (uv_pipe_t*) fdopt.data.stream; in uv__stdio_create()
240 assert(fdopt.data.stream->type == UV_NAMED_PIPE); in uv__stdio_create()
241 assert(!(fdopt.data.stream->flags & UV_HANDLE_CONNECTION)); in uv__stdio_create()
242 assert(!(fdopt.data.stream->flags & UV_HANDLE_PIPESERVER)); in uv__stdio_create()
247 fdopt.flags); in uv__stdio_create()
261 err = uv__duplicate_fd(loop, fdopt.data.fd, &child_handle); in uv__stdio_create()
265 if (fdopt.data.fd <= 2 && err == ERROR_INVALID_HANDLE) { in uv__stdio_create()
[all …]
H A Dprocess.c1109 const uv_stdio_container_t* fdopt = &options->stdio[i]; in uv_spawn() local
1110 if (fdopt->flags & UV_CREATE_PIPE && in uv_spawn()
1111 fdopt->data.stream->type == UV_NAMED_PIPE && in uv_spawn()
1112 ((uv_pipe_t*) fdopt->data.stream)->ipc) { in uv_spawn()
1113 ((uv_pipe_t*) fdopt->data.stream)->pipe.conn.ipc_remote_pid = in uv_spawn()

Completed in 35 milliseconds