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

Ruby's File and IO. More...

#include <rfile.h>

Data Fields

struct RBasic basic
 Basic part, including flags and class. More...
 
struct rb_iofptr
 IO's specific fields. More...
 

Detailed Description

Ruby's File and IO.

Ruby's IO are not just file descriptors. They have buffers. They also have encodings. Various information are controlled using this struct.

Definition at line 35 of file rfile.h.

Field Documentation

◆ basic

struct RBasic RFile::basic

Basic part, including flags and class.

Definition at line 1 of file rfile.h.

◆ fptr

struct rb_io* RFile::fptr

IO's specific fields.

Definition at line 41 of file rfile.h.


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