Ruby
2.5.0dev(2017-10-22revision60238)
|
#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(), rb_pipe(), and rb_w32_dup2().