Feature #10050 » 0001-rb_io_t.patch
| include/ruby/io.h | ||
|---|---|---|
|
} rb_io_buffer_t;
|
||
|
typedef struct rb_io_t {
|
||
|
int fd; /* file descriptor */
|
||
|
FILE *stdio_file; /* stdio ptr for read/write if available */
|
||
|
int fd; /* file descriptor */
|
||
|
int mode; /* mode flags: FMODE_XXXs */
|
||
|
rb_pid_t pid; /* child's pid (for pipes) */
|
||
|
int lineno; /* number of lines read */
|
||
| ... | ... | |
|
rb_econv_t *writeconv;
|
||
|
VALUE writeconv_asciicompat;
|
||
|
int writeconv_initialized;
|
||
|
int writeconv_pre_ecflags;
|
||
|
VALUE writeconv_pre_ecopts;
|
||
|
int writeconv_initialized;
|
||
|
VALUE write_lock;
|
||
|
} rb_io_t;
|
||
|
-
|
||