Sha256: 9be616258ab1311f856b50479b06a554a8cfd67c89263d88dca9df6fec963cb6

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

module FFI
  module Stat
    module Library
      extend FFI::Library
      ffi_lib FFI::Library::LIBC

      attach_function :stat,  [ :string, :pointer ], :int
      attach_function :lstat, [ :string, :pointer ], :int
      attach_function :fstat, [ :int, :pointer    ], :int
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffi-stat-0.0.2 lib/ffi/stat/library.rb
ffi-stat-0.0.1 lib/ffi/stat/library.rb