24 int f =
fcntl(fd, F_GETFL);
29 #define io_nonblock_mode(fd) ((void)(fd), 0)
49 #define rb_io_nonblock_p rb_f_notimplement
54 io_nonblock_set(
int fd,
int f,
int nb)
89 int *restore = (
int *)arg;
119 restore[0] = fptr->
fd;
121 io_nonblock_set(fptr->
fd, f, nb);
125 #define rb_io_nonblock_set rb_f_notimplement
126 #define rb_io_nonblock_block rb_f_notimplement
#define io_nonblock_mode(fd)
#define GetOpenFile(obj, fp)
int rb_scan_args(int argc, const VALUE *argv, const char *fmt,...)
VALUE rb_ensure(VALUE(*b_proc)(ANYARGS), VALUE data1, VALUE(*e_proc)(ANYARGS), VALUE data2)
void rb_sys_fail(const char *mesg)
#define rb_io_nonblock_block
void rb_define_method(VALUE klass, const char *name, VALUE(*func)(ANYARGS), int argc)
#define rb_io_nonblock_set