Sha256: 45637110804d68b31e0b2f3345e71657a575fe91b8a3849c7f99c5018f44b1a7

Contents?: true

Size: 155 Bytes

Versions: 7013

Compression:

Stored size: 155 Bytes

Contents

require 'ffi'

module Foo
  extend FFI::Library
  ffi_lib FFI::Library::LIBC
  attach_function :getlogin, [ ], :string
end
puts "getlogin=#{Foo.getlogin}"

Version data entries

7,013 entries across 7,009 versions & 39 rubygems

Version Path
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha23 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
vagrant-unbundled-2.2.18.0 vendor/bundle/ruby/3.0.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-kratos-client-0.8.0.alpha2 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha21 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-keto-client-0.7.0.alpha1 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-keto-client-0.7.0.alpha0 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-kratos-client-0.7.6.alpha7 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-kratos-client-0.7.6.alpha6 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-kratos-client-0.7.6.alpha5 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-kratos-client-0.7.6.alpha4 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-kratos-client-0.7.6.alpha3 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-kratos-client-0.7.6.alpha1 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-kratos-client-0.7.5.alpha2 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ffi-1.15.4 samples/getlogin.rb
ffi-1.15.4-java samples/getlogin.rb
ffi-1.15.4-x64-mingw32 samples/getlogin.rb
ffi-1.15.4-x86-mingw32 samples/getlogin.rb
ffi-1.15.4.pre1-java samples/getlogin.rb
ffi-1.15.4.pre1 samples/getlogin.rb