void mark_fd_no_cloexec(int fd)
int gdb_socketpair_cloexec(int domain, int style, int protocol, int filedes[2])
int gdb_socket_cloexec(int domain, int style, int protocol)
void notice_open_fds(void)
struct cleanup * make_cleanup_close(int fd)
FILE * gdb_fopen_cloexec(const char *filename, const char *opentype)
int gdb_pipe_cloexec(int filedes[2])
int gdb_open_cloexec(const char *filename, int flags, unsigned long mode)
void unmark_fd_no_cloexec(int fd)
void close_most_fds(void)