Ruby: select_args Struct Reference

Ruby 3.4.9p82 (2026-03-11 revision 76cca827ab52ab1d346a728f068d5b8da3e2952b)

Data Fields
select_args Struct Reference

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

## Detailed Description

Definition at line 10781 of file io.c.

## Field Documentation

## ◆ error

int select_args::error

Definition at line 4486 of file thread.c.

## ◆ except [1/2]

VALUE select_args::except

Definition at line 10782 of file io.c.

## ◆ except [2/2]

rb_fdset_t* select_args::except

Definition at line 4490 of file thread.c.

## ◆ fd

int select_args::fd

Definition at line 4485 of file thread.c.

## ◆ fdsets

rb_fdset_t select_args::fdsets[4]

Definition at line 10784 of file io.c.

## ◆ read [1/2]

VALUE select_args::read

Definition at line 10782 of file io.c.

## ◆ read [2/2]

rb_fdset_t* select_args::read

Definition at line 4488 of file thread.c.

## ◆ timeout

struct timeval* select_args::timeout

Definition at line 10783 of file io.c.

## ◆ tv

struct timeval* select_args::tv

Definition at line 4492 of file thread.c.

## ◆ wfd

struct waiting_fd select_args::wfd

Definition at line 4491 of file thread.c.

## ◆ write [1/2]

VALUE select_args::write

Definition at line 10782 of file io.c.

## ◆ write [2/2]

rb_fdset_t* select_args::write

Definition at line 4489 of file thread.c.

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

- io.c
- thread.c