diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-20 09:29:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-20 09:29:41 +0000 |
commit | ab29e6d347c397752483a22c72e64b4f82c9e9cd (patch) | |
tree | 1fde7e1854c2299962d04be1efd8055c1758c96f /rubyio.h | |
parent | e13ee95f271901b9d11ffff85aeda55105f662ec (diff) | |
download | ruby-ab29e6d347c397752483a22c72e64b4f82c9e9cd.tar.gz ruby-ab29e6d347c397752483a22c72e64b4f82c9e9cd.tar.xz ruby-ab29e6d347c397752483a22c72e64b4f82c9e9cd.zip |
* io.c (rb_io_fwrite): separated from io_write().
* marshal.c (w_byten): use rb_io_fwrite() to support non-blocking
IO, and added error check.
* rubyio.h: prototypes; rb_io_fwrite
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubyio.h')
-rw-r--r-- | rubyio.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -59,6 +59,7 @@ FILE *rb_fopen _((const char*, const char*)); FILE *rb_fdopen _((int, const char*)); int rb_getc _((FILE*)); long rb_io_fread _((char *, long, FILE *)); +long rb_io_fwrite _((const char *, long, FILE *)); int rb_io_mode_flags _((const char*)); void rb_io_check_writable _((OpenFile*)); void rb_io_check_readable _((OpenFile*)); |