1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include
akr b929da2a1e * include/ruby/io.h (FMODE_TRUNC): new constant.
* io.c (rb_io_mode_flags): set FMODE_TRUNC for "w".
  (rb_io_modenum_flags): set FMODE_TRUNC for O_TRUNC.
  (rb_io_flags_modenum): new function.
  (rb_io_mode_modenum): just use rb_io_mode_flags and
  rb_io_flags_modenum.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-19 18:38:32 +00:00
..
ruby * include/ruby/io.h (FMODE_TRUNC): new constant. 2008-08-19 18:38:32 +00:00
ruby.h * include/ruby/intern.h (HAVE_RUBY_RUBY_H): defines macros so that 2008-07-12 13:30:46 +00:00
rubyio.h * include/ruby/intern.h (HAVE_RUBY_RUBY_H): defines macros so that 2008-07-12 13:30:46 +00:00
rubysig.h * include/ruby/intern.h (HAVE_RUBY_RUBY_H): defines macros so that 2008-07-12 13:30:46 +00:00