Ruby: select_args Struct Reference

Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)

Data Fields
select_args Struct Reference

## Data Fields
VALUE | read
VALUE | write
VALUE | except
struct timeval * | timeout
rb_fdset_t | fdsets [4]
struct rb_io * | io
struct rb_io_blocking_operation * | blocking_operation
union { |
int fd |
int error |
} | as
rb_fdset_t * | read
rb_fdset_t * | write
rb_fdset_t * | except
struct timeval * | tv

## Detailed Description

Definition at line 10805 of file io.c.

## Field Documentation

## ◆ blocking_operation

struct rb_io_blocking_operation* select_args::blocking_operation

Definition at line 4704 of file thread.c.

## ◆ error

int select_args::error

Definition at line 4708 of file thread.c.

## ◆ except [1/2]

VALUE select_args::except

Definition at line 10806 of file io.c.

## ◆ except [2/2]

rb_fdset_t* select_args::except

Definition at line 4712 of file thread.c.

## ◆ fd

int select_args::fd

Definition at line 4707 of file thread.c.

## ◆ fdsets

rb_fdset_t select_args::fdsets[4]

Definition at line 10808 of file io.c.

## ◆ io

struct rb_io* select_args::io

Definition at line 4703 of file thread.c.

## ◆ read [1/2]

VALUE select_args::read

Definition at line 10806 of file io.c.

## ◆ read [2/2]

rb_fdset_t* select_args::read

Definition at line 4710 of file thread.c.

## ◆ timeout

struct timeval* select_args::timeout

Definition at line 10807 of file io.c.

## ◆ tv

struct timeval* select_args::tv

Definition at line 4713 of file thread.c.

## ◆ write [1/2]

VALUE select_args::write

Definition at line 10806 of file io.c.

## ◆ write [2/2]

rb_fdset_t* select_args::write

Definition at line 4711 of file thread.c.

The documentation for this struct was generated from the following files:

- io.c
- thread.c