Ruby  2.5.0dev(2017-10-22revision60238)
Data Structures | Data Fields
rb_io_t Struct Reference

#include <io.h>

Data Structures

struct  rb_io_enc_t
 

Data Fields

FILEstdio_file
 
int fd
 
int mode
 
rb_pid_t pid
 
int lineno
 
VALUE pathv
 
void(* finalize )(struct rb_io_t *, int)
 
rb_io_buffer_t wbuf
 
rb_io_buffer_t rbuf
 
VALUE tied_io_for_writing
 
struct rb_io_t::rb_io_enc_t encs
 
rb_econv_treadconv
 
rb_io_buffer_t cbuf
 
rb_econv_twriteconv
 
VALUE writeconv_asciicompat
 
int writeconv_initialized
 
int writeconv_pre_ecflags
 
VALUE writeconv_pre_ecopts
 
VALUE write_lock
 

Detailed Description

Definition at line 62 of file io.h.

Field Documentation

◆ cbuf

rb_io_buffer_t rb_io_t::cbuf

Definition at line 89 of file io.h.

Referenced by rb_io_memsize().

◆ encs

struct rb_io_t::rb_io_enc_t rb_io_t::encs

◆ fd

int rb_io_t::fd

◆ finalize

void(* rb_io_t::finalize) (struct rb_io_t *, int)

Definition at line 69 of file io.h.

◆ lineno

int rb_io_t::lineno

Definition at line 67 of file io.h.

◆ mode

int rb_io_t::mode

◆ pathv

VALUE rb_io_t::pathv

Definition at line 68 of file io.h.

Referenced by rb_io_fptr_finalize(), and rb_io_set_nonblock().

◆ pid

rb_pid_t rb_io_t::pid

Definition at line 66 of file io.h.

◆ rbuf

rb_io_buffer_t rb_io_t::rbuf

Definition at line 71 of file io.h.

Referenced by rb_io_check_writable(), and rb_io_memsize().

◆ readconv

rb_econv_t* rb_io_t::readconv

Definition at line 88 of file io.h.

Referenced by rb_io_binmode(), and rb_io_memsize().

◆ stdio_file

FILE* rb_io_t::stdio_file

Definition at line 63 of file io.h.

Referenced by rb_io_stdio_file().

◆ tied_io_for_writing

VALUE rb_io_t::tied_io_for_writing

Definition at line 73 of file io.h.

◆ wbuf

rb_io_buffer_t rb_io_t::wbuf

Definition at line 71 of file io.h.

Referenced by rb_io_check_char_readable(), and rb_io_memsize().

◆ write_lock

VALUE rb_io_t::write_lock

Definition at line 97 of file io.h.

◆ writeconv

rb_econv_t* rb_io_t::writeconv

Definition at line 91 of file io.h.

Referenced by rb_io_binmode(), and rb_io_memsize().

◆ writeconv_asciicompat

VALUE rb_io_t::writeconv_asciicompat

Definition at line 92 of file io.h.

◆ writeconv_initialized

int rb_io_t::writeconv_initialized

Definition at line 93 of file io.h.

◆ writeconv_pre_ecflags

int rb_io_t::writeconv_pre_ecflags

Definition at line 94 of file io.h.

Referenced by rb_io_binmode().

◆ writeconv_pre_ecopts

VALUE rb_io_t::writeconv_pre_ecopts

Definition at line 95 of file io.h.


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