diff options
| author | dearblue <[email protected]> | 2019-12-14 15:19:13 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2019-12-14 15:19:13 +0900 |
| commit | 69619aeeb1434c30565ff1229897cf5b1af462da (patch) | |
| tree | b156ec117dd24b585d5bd84a936e46a14f372123 /mrbgems/mruby-io/mrblib/file_constants.rb | |
| parent | 6c5ee8f79e430354fe7e569553bda2d6f79b7aee (diff) | |
| download | mruby-69619aeeb1434c30565ff1229897cf5b1af462da.tar.gz mruby-69619aeeb1434c30565ff1229897cf5b1af462da.zip | |
Support bit flags for `IO.open`
Note that this bit flags are not compatible with the native flags
defined in `#include <fcntl.h>`.
Diffstat (limited to 'mrbgems/mruby-io/mrblib/file_constants.rb')
| -rw-r--r-- | mrbgems/mruby-io/mrblib/file_constants.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/mrbgems/mruby-io/mrblib/file_constants.rb b/mrbgems/mruby-io/mrblib/file_constants.rb index a68ee2598..bd77d53fe 100644 --- a/mrbgems/mruby-io/mrblib/file_constants.rb +++ b/mrbgems/mruby-io/mrblib/file_constants.rb @@ -1,21 +1,5 @@ class File module Constants - RDONLY = 0 - WRONLY = 1 - RDWR = 2 - NONBLOCK = 4 - APPEND = 8 - - BINARY = 0 - SYNC = 128 - NOFOLLOW = 256 - CREAT = 512 - TRUNC = 1024 - EXCL = 2048 - - NOCTTY = 131072 - DSYNC = 4194304 - FNM_SYSCASE = 0 FNM_NOESCAPE = 1 FNM_PATHNAME = 2 |
