Ruby  3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
Macros | Functions
wait.c File Reference

(b76ad15ed0da636161de0243c547ee1e6fc95681)

#include "ruby.h"
#include "ruby/io.h"
#include <sys/types.h>
Include dependency graph for wait.c:

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

void Init_wait (void)
 

Macro Definition Documentation

◆ FIONREAD_POSSIBLE_P

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

Definition at line 40 of file wait.c.

◆ ioctl_arg

#define ioctl_arg   int

Definition at line 33 of file wait.c.

◆ ioctl_arg2num

#define ioctl_arg2num (   i)    INT2NUM(i)

Definition at line 34 of file wait.c.

Function Documentation

◆ Init_wait()

void Init_wait ( void  )

Definition at line 274 of file wait.c.

References rb_cIO, rb_define_method, and RB_EXT_RACTOR_SAFE.