summaryrefslogtreecommitdiff
path: root/rubyio.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-18 02:29:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-18 02:29:43 +0000
commit0fdb2ae104d9a4a2ef4885d19860b2dff09cc42a (patch)
tree7c690d94ace0cbe00e4f39950ef621fb8c41885e /rubyio.h
parent6a6773b969b67af6395e022c64c1424372bf324c (diff)
* io.c (rb_io_flags_mode, rb_io_mode_flags): distinguish whether file
not existing is created. [ruby-dev:24505] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubyio.h')
-rw-r--r--rubyio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rubyio.h b/rubyio.h
index efafe0c6a8..0b77fa1794 100644
--- a/rubyio.h
+++ b/rubyio.h
@@ -31,6 +31,7 @@ typedef struct OpenFile {
#define FMODE_WRITABLE 2
#define FMODE_READWRITE 3
#define FMODE_APPEND 64
+#define FMODE_CREATE 128
#define FMODE_BINMODE 4
#define FMODE_SYNC 8
#define FMODE_WBUF 16