summaryrefslogtreecommitdiff
path: root/include/ruby/io.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-21 04:56:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-21 04:56:06 +0000
commit877dca1e272e5582bd739fb4fed90ef8209e5095 (patch)
tree569908a38e1f289f529f3c650ad08989557ecf82 /include/ruby/io.h
parent8029f3d2996de5500fa2d700b06d7160f7fff18e (diff)
* include/ruby/io.h (typedef struct rb_io_t):
* io.c (flush_before_seek): * io.c (io_fillbuf): * io.c (io_fread): * io.c (io_getpartial): * ruby.c (load_file_internal): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/io.h')
-rw-r--r--include/ruby/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h
index 04af3d07e3..64773549f5 100644
--- a/include/ruby/io.h
+++ b/include/ruby/io.h
@@ -92,6 +92,7 @@ typedef struct rb_io_t {
#define FMODE_WSPLIT_INITIALIZED 0x00000400
#define FMODE_TRUNC 0x00000800
#define FMODE_TEXTMODE 0x00001000
+#define FMODE_EOF 0x00002000
/* #define FMODE_PREP 0x00010000 */
#define GetOpenFile(obj,fp) rb_io_check_closed((fp) = RFILE(rb_io_taint_check(obj))->fptr)