Ruby  3.4.0dev (2024-12-06 revision 892c46283a5ea4179500d951c9d4866c0051f27b)
Data Fields
rb_fdset_t Struct Reference

The data structure which wraps the fd_set bitmap used by select(2). More...

#include <largesize.h>

Data Fields

int maxfd
 Maximum allowed number of FDs. More...
 
fd_set * fdset
 File descriptors buffer. More...
 
int capa
 Maximum allowed number of FDs. More...
 

Detailed Description

The data structure which wraps the fd_set bitmap used by select(2).

This allows Ruby to use FD sets larger than that allowed by historic limitations on modern platforms.

Definition at line 71 of file largesize.h.

Field Documentation

◆ capa

int rb_fdset_t::capa

Maximum allowed number of FDs.

Definition at line 50 of file win32.h.

Referenced by rb_w32_fd_copy(), and rb_w32_fd_dup().

◆ fdset

fd_set * rb_fdset_t::fdset

File descriptors buffer.

Definition at line 73 of file largesize.h.

Referenced by rb_fd_select(), rb_w32_fd_copy(), and rb_w32_fd_dup().

◆ maxfd

int rb_fdset_t::maxfd

Maximum allowed number of FDs.

Definition at line 72 of file largesize.h.


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