add prctl separately

This commit is contained in:
Jordan Sissel 2013-07-25 15:17:25 -07:00
parent 35b407ff60
commit de91e8fa18

View file

@ -0,0 +1,10 @@
module LibC
require "ffi"
extend FFI::Library
ffi_lib 'c'
# Ok so the 2nd arg isn't really a string... but whaatever
attach_function :prctl, [:int, :string, :long, :long, :long], :int
end