63 if (gdb_pipe_cloexec (fds) == -1)
64 internal_error (
"creating serial event pipe failed.");
66 fcntl (fds[0], F_SETFL, O_NONBLOCK);
67 fcntl (fds[1], F_SETFL, O_NONBLOCK);
80 state->event = CreateEvent (0, TRUE, FALSE, 0);
84 dummy_file = CreateFile (
"nul", 0, 0, NULL, OPEN_EXISTING, 0, NULL);
85 scb->
fd = _open_osfhandle ((intptr_t) dummy_file, 0);