Ruby  2.1.10p492(2016-04-01revision54464)
Macros | Functions
wait.c File Reference
#include "ruby.h"
#include "ruby/io.h"
#include <sys/types.h>

Go to the source code of this file.

Macros

#define ioctl_arg   int
 
#define ioctl_arg2num(i)   INT2NUM(i)
 
#define FIONREAD_POSSIBLE_P(fd)   ((void)(fd),Qtrue)
 

Functions

static VALUE io_ready_p _ ((VALUE io))
 
static VALUE io_wait_readable _ ((int argc, VALUE *argv, VALUE io))
 
void Init_wait _ ((void))
 
static VALUE io_nread (VALUE io)
 
static VALUE io_ready_p (VALUE io)
 
static VALUE io_wait_readable (int argc, VALUE *argv, VALUE io)
 
static VALUE io_wait_writable (int argc, VALUE *argv, VALUE io)
 
void Init_wait ()
 

Macro Definition Documentation

#define FIONREAD_POSSIBLE_P (   fd)    ((void)(fd),Qtrue)

Definition at line 39 of file wait.c.

Referenced by io_nread(), io_ready_p(), and io_wait_readable().

#define ioctl_arg   int

Definition at line 32 of file wait.c.

#define ioctl_arg2num (   i)    INT2NUM(i)

Definition at line 33 of file wait.c.

Referenced by io_nread().

Function Documentation

static VALUE io_ready_p _ ( (VALUE io )
static
static VALUE io_wait_writable _ ( (int argc, VALUE *argv, VALUE io )
static
void Init_wait _ ( (void )
void Init_wait ( )
static VALUE io_nread ( VALUE  io)
static
static VALUE io_ready_p ( VALUE  io)
static
static VALUE io_wait_readable ( int  argc,
VALUE argv,
VALUE  io 
)
static
static VALUE io_wait_writable ( int  argc,
VALUE argv,
VALUE  io 
)
static