Ruby: ext/io/wait/wait.c File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

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
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.