repo.or.cz
/
rbx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix up Rubinius specific library specs.
[rbx.git]
/
lib
/
fcntl.rb.ffi
blob
2e67a7c739269bb3096faeae7b81dcf89b43d64c
1
module Fcntl
2
@@@
3
constants do |c|
4
c.include 'fcntl.h'
5
6
c.const 'F_DUPFD'
7
c.const 'F_GETFD'
8
c.const 'F_GETLK'
9
c.const 'F_SETFD'
10
c.const 'F_GETFL'
11
c.const 'F_SETFL'
12
c.const 'F_SETLK'
13
c.const 'F_SETLKW'
14
c.const 'FD_CLOEXEC'
15
c.const 'F_RDLCK'
16
c.const 'F_UNLCK'
17
c.const 'F_WRLCK'
18
c.const 'O_CREAT'
19
c.const 'O_EXCL'
20
c.const 'O_NOCTTY'
21
c.const 'O_TRUNC'
22
c.const 'O_APPEND'
23
c.const 'O_NONBLOCK'
24
c.const 'O_NDELAY'
25
c.const 'O_RDONLY'
26
c.const 'O_RDWR'
27
c.const 'O_WRONLY'
28
c.const 'O_ACCMODE'
29
end
30
@@@
31
end
32