Searched refs:emfile_fd (Results 1 – 4 of 4) sorted by relevance
72 loop->emfile_fd = -1; in uv_loop_init()172 if (loop->emfile_fd != -1) { in uv__loop_close()173 uv__close(loop->emfile_fd); in uv__loop_close()174 loop->emfile_fd = -1; in uv__loop_close()
90 if (loop->emfile_fd == -1) { in uv__stream_init()98 loop->emfile_fd = err; in uv__stream_init()485 int emfile_fd; in uv__emfile_trick() local487 if (loop->emfile_fd == -1) in uv__emfile_trick()490 uv__close(loop->emfile_fd); in uv__emfile_trick()491 loop->emfile_fd = -1; in uv__emfile_trick()499 emfile_fd = uv__open_cloexec("/", O_RDONLY); in uv__emfile_trick()500 if (emfile_fd >= 0) in uv__emfile_trick()501 loop->emfile_fd = emfile_fd; in uv__emfile_trick()
251 int emfile_fd; \
3477 * unix: open "/dev/null" instead of "/" for emfile_fd (Alan Rogers)