Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | O_BINARY 0 |
Functions | |
static bool | __dupDescriptor (int fd, int fdn) |
RZ_API int | rz_cons_pipe_open (const char *file, int fdn, int append) |
RZ_API void | rz_cons_pipe_close (int fd) |
Variables | |
static int | backup_fd = -1 |
static int | backup_fdn = 1 |
Definition at line 16 of file cpipe.c.
References backup_fd, dup2, and fd.
Referenced by rz_cons_pipe_open().
Definition at line 53 of file cpipe.c.
References backup_fd, backup_fdn, close, dup2, and fd.
Referenced by __rap_reg_profile(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), rz_core_cmd_str_pipe(), and rz_core_cmd_subst_i().
Definition at line 29 of file cpipe.c.
References __dupDescriptor(), append, backup_fd, backup_fdn, close, dup2, eprintf, fd, O_APPEND, O_BINARY, O_CREAT, O_RDWR, O_TRUNC, and rz_sys_open().
Referenced by __rap_reg_profile(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), rz_core_cmd_str_pipe(), and rz_core_cmd_subst_i().
|
static |
Definition at line 9 of file cpipe.c.
Referenced by __dupDescriptor(), rz_cons_pipe_close(), and rz_cons_pipe_open().
|
static |
Definition at line 10 of file cpipe.c.
Referenced by rz_cons_pipe_close(), and rz_cons_pipe_open().