|
Rizin
unix-like reverse engineering framework and cli tools
|
Make sure that file descriptors 0, 1, and 2 are open. More...
#include "tuklib_open_stdxxx.h"#include <stdlib.h>#include <errno.h>#include <fcntl.h>#include <unistd.h>Go to the source code of this file.
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.c.
| 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().