|
GDB (API)
|
#include "defs.h"#include "gdb_string.h"#include "filestuff.h"#include "gdb_vecs.h"#include <string.h>#include <fcntl.h>#include <unistd.h>#include <sys/types.h>#include "gdb_stat.h"#include "gdb_dirent.h"Go to the source code of this file.
Defines | |
| #define | O_CLOEXEC 0 |
| #define | SOCK_CLOEXEC 0 |
Functions | |
| void | notice_open_fds (void) |
| void | mark_fd_no_cloexec (int fd) |
| void | unmark_fd_no_cloexec (int fd) |
| void | close_most_fds (void) |
| int | gdb_open_cloexec (const char *filename, int flags, unsigned long mode) |
| FILE * | gdb_fopen_cloexec (const char *filename, const char *opentype) |
| int | gdb_pipe_cloexec (int filedes[2]) |
| #define O_CLOEXEC 0 |
Definition at line 50 of file filestuff.c.
| #define SOCK_CLOEXEC 0 |
Definition at line 54 of file filestuff.c.
| void close_most_fds | ( | void | ) |
Definition at line 231 of file filestuff.c.
| FILE* gdb_fopen_cloexec | ( | const char * | filename, |
| const char * | opentype | ||
| ) |
Definition at line 311 of file filestuff.c.
| int gdb_open_cloexec | ( | const char * | filename, |
| int | flags, | ||
| unsigned long | mode | ||
| ) |
Definition at line 298 of file filestuff.c.
| int gdb_pipe_cloexec | ( | int | filedes[2] | ) |
Definition at line 387 of file filestuff.c.
| void mark_fd_no_cloexec | ( | int | fd | ) |
Definition at line 183 of file filestuff.c.
| void notice_open_fds | ( | void | ) |
Definition at line 175 of file filestuff.c.
| void unmark_fd_no_cloexec | ( | int | fd | ) |
Definition at line 191 of file filestuff.c.
1.7.6.1