|
Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
#include "ruby/config.h"#include <errno.h>Go to the source code of this file.
Macros | |
| #define | BADEXIT -1 |
Functions | |
| int | dup2 (int fd1, int fd2) |
| int dup2 | ( | int | fd1, |
| int | fd2 | ||
| ) |
Definition at line 27 of file dup2.c.
References BADEXIT, errno, F_DUPFD, and fcntl().
Referenced by goruby_options(), rb_cloexec_dup2(), and rb_w32_dup2().