repo.or.cz
/
mruby.git
/
blob
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Add 'mrbgems/mruby-io/' from commit '3c8e1f94c44252c836f79a48bb17726da28e2756'
[mruby.git]
/
mrbgems
/
mruby-io
/
mrblib
/
file_constants.rb
blob
a68ee259821514bbb0144e2cc0325b8e5748b7d8
1
class File
2
module Constants
3
RDONLY = 0
4
WRONLY = 1
5
RDWR = 2
6
NONBLOCK = 4
7
APPEND = 8
8
9
BINARY = 0
10
SYNC = 128
11
NOFOLLOW = 256
12
CREAT = 512
13
TRUNC = 1024
14
EXCL = 2048
15
16
NOCTTY = 131072
17
DSYNC = 4194304
18
19
FNM_SYSCASE = 0
20
FNM_NOESCAPE = 1
21
FNM_PATHNAME = 2
22
FNM_DOTMATCH = 4
23
FNM_CASEFOLD = 8
24
end
25
end
26
27
class File
28
include File::Constants
29
end