Defines | |
| #define | rb_defout rb_stdout |
Functions | |
| VALUE | rb_io_write (VALUE, VALUE) |
| VALUE | rb_io_gets (VALUE) |
| VALUE | rb_io_getc (VALUE) |
| VALUE | rb_io_ungetc (VALUE, VALUE) |
| VALUE | rb_io_close (VALUE) |
| VALUE | rb_io_eof (VALUE) |
| VALUE | rb_io_binmode (VALUE) |
| VALUE | rb_io_addstr (VALUE, VALUE) |
| VALUE | rb_io_printf (int, VALUE *, VALUE) |
| VALUE | rb_io_print (int, VALUE *, VALUE) |
| VALUE | rb_io_puts (int, VALUE *, VALUE) |
| VALUE | rb_file_open (const char *, const char *) |
| VALUE | rb_gets (void) |
| void | rb_write_error (const char *) |
| void | rb_write_error2 (const char *, long) |
Variables | |
| RUBY_EXTERN VALUE | rb_fs |
| RUBY_EXTERN VALUE | rb_output_fs |
| RUBY_EXTERN VALUE | rb_rs |
| RUBY_EXTERN VALUE | rb_default_rs |
| RUBY_EXTERN VALUE | rb_output_rs |
|
|
|
|
||||||||||||
|
|
|
|
Definition at line 4410 of file io.c. References argf_close(), current_file, gets_lineno, INT2FIX, lineno, next_argv(), NIL_P, Qnil, rb_default_rs, rb_f_gets(), rb_io_gets(), rb_lastline_set(), rb_rs, and VALUE. Referenced by rb_eval(). |
|
||||||||||||
|
Definition at line 593 of file io.c. References rb_io_write(), and VALUE. Referenced by Init_IO(). |
|
|
Definition at line 2443 of file io.c. References OpenFile::f, OpenFile::f2, FMODE_BINMODE, GetOpenFile, OpenFile::mode, OpenFile::path, rb_sys_fail(), and VALUE. Referenced by argf_binmode(), Init_IO(), io_reopen(), load_file(), next_argv(), and rb_io_init_copy(). |
|
|
Definition at line 2097 of file io.c. References OpenFile::f, OpenFile::f2, OpenFile::pid, Qfalse, Qnil, rb_io_fptr_cleanup(), rb_syswait(), rb_thread_fd_close(), RFILE, and VALUE. Referenced by argf_close(), io_close(), load_file(), next_argv(), rb_f_backquote(), rb_io_close_m(), rb_io_close_read(), rb_io_close_write(), rb_io_s_foreach(), rb_io_s_pipe(), rb_io_s_read(), and rb_io_s_readlines(). |
|
|
Definition at line 803 of file io.c. References OpenFile::f, GetOpenFile, Qfalse, Qtrue, rb_io_check_closed(), rb_io_check_readable(), READ_CHECK, READ_DATA_PENDING, TRAP_BEG, TRAP_END, and VALUE. Referenced by argf_eof(), and Init_IO(). |
|
|
Definition at line 1900 of file io.c. References OpenFile::f, GetOpenFile, INT2FIX, OpenFile::path, Qnil, rb_io_check_readable(), rb_io_wait_readable(), rb_sys_fail(), READ_CHECK, TRAP_BEG, TRAP_END, and VALUE. Referenced by argf_getc(), Init_IO(), load_file(), rb_f_getc(), and rb_io_readchar(). |
|
|
Definition at line 1606 of file io.c. References GetOpenFile, rb_io_check_readable(), rb_io_getline_fast(), and VALUE. Referenced by argf_getline(), load_file(), rb_compile_file(), and rb_gets(). |
|
||||||||||||||||
|
Definition at line 3659 of file io.c. References NIL_P, Qnil, rb_io_write(), rb_lastline_get(), rb_output_fs, rb_output_rs, rb_str_new2(), T_NIL, TYPE, and VALUE. Referenced by Init_IO(), and rb_f_print(). |
|
||||||||||||||||
|
Referenced by Init_IO(). |
|
||||||||||||||||
|
Definition at line 3805 of file io.c. References io_puts_ary(), NIL_P, Qnil, rb_check_array_type(), rb_default_rs, rb_io_write(), rb_obj_as_string(), rb_protect_inspect(), rb_str_new2(), RSTRING, and VALUE. Referenced by Init_IO(), io_puts_ary(), rb_f_abort(), and rb_f_puts(). |
|
||||||||||||
|
Definition at line 1984 of file io.c. References OpenFile::f, FMODE_RBUF, GetOpenFile, OpenFile::mode, NUM2INT, Qnil, rb_eIOError, rb_io_check_readable(), rb_raise(), and VALUE. Referenced by Init_IO(), and load_file(). |
|
||||||||||||
|
Definition at line 571 of file io.c. References id_write, rb_funcall(), and VALUE. Referenced by dump(), rb_f_printf(), rb_io_addstr(), rb_io_print(), rb_io_printf(), rb_io_putc(), rb_io_puts(), rb_obj_display(), rb_p(), rb_warn_m(), rb_write_error2(), and w_nbyte(). |
|
|
|
|
||||||||||||
|
|
|
|
Definition at line 289 of file intern.h. Referenced by argf_getline(), Init_IO(), rb_gets(), rb_io_getline(), rb_io_puts(), rb_io_s_foreach(), rb_p(), rb_str_chomp_bang(), and rb_warn_m(). |
|
|
Definition at line 286 of file intern.h. Referenced by Init_String(), proc_options(), and rb_str_split_m(). |
|
|
|
|
|
Definition at line 290 of file intern.h. Referenced by Init_IO(), proc_options(), and rb_io_print(). |
|
|
Definition at line 288 of file intern.h. Referenced by argf_getline(), Init_IO(), proc_options(), rb_gets(), rb_io_each_line(), rb_io_gets_m(), rb_io_readlines(), rb_str_chomp_bang(), and rb_str_each_line(). |
1.3.5