Project

General

Profile

Actions

Feature #11253

closed

rb_io_modestr_oflags for Ruby API

Added by naruse (Yui NARUSE) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Target version:
-
[ruby-core:69539]

Description

If you have a wrapper of IO.open, you may handle mode.
For example on Windows, you may want to add 'b' / OBINARY to given mode.

But some modes has only integer form like O_CLOEXEC, O_EXCL.
If so you need to convert from modestr to oflags

Therefore how about adding a Ruby API version of rb_io_modestr_oflags

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0