From 5b615c70eb68177075bf033384499a2eb4b765e6 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 20 Dec 2002 09:29:41 +0000 Subject: * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- rubyio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rubyio.h') diff --git a/rubyio.h b/rubyio.h index 377a66b719..a456fff1c5 100644 --- a/rubyio.h +++ b/rubyio.h @@ -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*)); -- cgit v1.2.3