Rizin
unix-like reverse engineering framework and cli tools
|
Make sure that file descriptors 0, 1, and 2 are open. More...
#include "tuklib_common.h"
Go to the source code of this file.
Macros | |
#define | tuklib_open_stdxx TUKLIB_SYMBOL(tuklib_open_stdxxx) |
Functions | |
void | tuklib_open_stdxxx (int err_status) |
Make sure that file descriptors 0, 1, and 2 are open.
Definition in file tuklib_open_stdxxx.h.
#define tuklib_open_stdxx TUKLIB_SYMBOL(tuklib_open_stdxxx) |
Definition at line 19 of file tuklib_open_stdxxx.h.
void tuklib_open_stdxxx | ( | int | err_status | ) |
Definition at line 24 of file tuklib_open_stdxxx.c.
References close, EBADF, test-lz4-list::exit, F_GETFD, fcntl, fd, i, O_NOCTTY, O_RDONLY, and O_WRONLY.
Referenced by io_init().