1 #ifndef RBIMPL_INTERN_SELECT_H
2 #define RBIMPL_INTERN_SELECT_H
25 #include "ruby/internal/config.h"
27 #ifdef HAVE_SYS_TYPES_H
28 # include <sys/types.h>
34 #if defined(NFDBITS) && defined(HAVE_RB_FD_INIT)
39 # define rb_fd_resize(n, f) ((void)(f))
43 # define rb_fd_resize(n, f) ((void)(f))
Tweaking visibility of C variables/functions.
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
Public APIs to provide rb_fd_select().
Public APIs to provide rb_fd_select().
Public APIs to provide rb_fd_select().
int rb_thread_fd_select(int nfds, rb_fdset_t *rfds, rb_fdset_t *wfds, rb_fdset_t *efds, struct timeval *timeout)
Waits for multiple file descriptors at once.
The data structure which wraps the fd_set bitmap used by select(2).