2 #define ruby_options goruby_options
3 #define ruby_run_node goruby_run_node
11 #define pipe(p) _pipe(p, 32L, _O_NOINHERIT)
12 #elif defined HAVE_UNISTD_H
30 static const char cmd[] =
"END{require 'irb';IRB.start}";
34 if ((isatty(0) && isatty(1) && isatty(2)) && (pipe(rw) == 0)) {
38 write(rw[1], cmd,
sizeof(cmd) - 1);
void * goruby_options(int argc, char **argv)
VALUE rb_protect(VALUE(*proc)(VALUE), VALUE data, int *state)
RUBY_EXTERN void ruby_init_ext(const char *name, void(*init)(void))
static VALUE init_golf(VALUE arg)
int goruby_run_node(void *arg)
RUBY_EXTERN int dup2(int, int)