diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-18 02:29:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-18 02:29:43 +0000 |
commit | 0fdb2ae104d9a4a2ef4885d19860b2dff09cc42a (patch) | |
tree | 7c690d94ace0cbe00e4f39950ef621fb8c41885e /rubyio.h | |
parent | 6a6773b969b67af6395e022c64c1424372bf324c (diff) | |
download | ruby-0fdb2ae104d9a4a2ef4885d19860b2dff09cc42a.tar.gz |
* 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |