Sha256: adb92284b952102e6850a193ad8bbd514826d7ab7881c1e9ad9e222cb627ce00
Contents?: true
Size: 345 Bytes
Versions: 35
Compression:
Stored size: 345 Bytes
Contents
# encoding: utf-8 require 'adhearsion/linux_proc_name' require 'ffi' module LibC extend FFI::Library ffi_lib FFI::Library::LIBC begin attach_function :prctl, [ :ulong, :ulong, :ulong, :ulong ], :int rescue FFI::NotFoundError => ex Adhearsion::LinuxProcName.error = "Error while attaching libc function prctl: #{ex}" end end
Version data entries
35 entries across 35 versions & 1 rubygems