Ruby
2.4.2p198(2017-09-14revision59899)
|
#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 chfunc(), close_unless_reserved(), fill_standard_fds(), goruby_options(), main(), rb_cloexec_dup2(), rb_pipe(), rb_w32_dup2(), and reopen_fd().