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

Version Path
adhearsion-2.6.4 lib/adhearsion/foundation/libc.rb
adhearsion-2.6.3 lib/adhearsion/foundation/libc.rb
adhearsion-3.0.0.rc1 lib/adhearsion/foundation/libc.rb
adhearsion-3.0.0.beta2 lib/adhearsion/foundation/libc.rb
adhearsion-3.0.0.beta1 lib/adhearsion/foundation/libc.rb
adhearsion-2.6.2 lib/adhearsion/foundation/libc.rb
adhearsion-2.6.1 lib/adhearsion/foundation/libc.rb
adhearsion-2.6.0 lib/adhearsion/foundation/libc.rb
adhearsion-2.5.4 lib/adhearsion/foundation/libc.rb
adhearsion-2.5.3 lib/adhearsion/foundation/libc.rb
adhearsion-2.5.2 lib/adhearsion/foundation/libc.rb
adhearsion-2.5.0 lib/adhearsion/foundation/libc.rb
adhearsion-2.4.0 lib/adhearsion/foundation/libc.rb
adhearsion-2.4.0.beta3 lib/adhearsion/foundation/libc.rb
adhearsion-2.4.0.beta2 lib/adhearsion/foundation/libc.rb
adhearsion-2.4.0.beta1 lib/adhearsion/foundation/libc.rb
adhearsion-2.3.5 lib/adhearsion/foundation/libc.rb
adhearsion-2.3.4 lib/adhearsion/foundation/libc.rb
adhearsion-2.3.3 lib/adhearsion/foundation/libc.rb
adhearsion-2.3.2 lib/adhearsion/foundation/libc.rb