Apply PIE to nghttpx
[platform/upstream/nghttp2.git] / third-party / mruby / mrbgems / mruby-io / mrblib / file_constants.rb
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