Ruby: select_args Struct Reference

Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)

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 4727 of file thread.c.

## ◆ error

int select_args::error

Definition at line 4731 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 4735 of file thread.c.

## ◆ fd

int select_args::fd

Definition at line 4730 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 4726 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 4733 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 4736 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 4734 of file thread.c.

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

- io.c
- thread.c