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
ffi-1.15.5-x64-mingw-ucrt samples/getlogin.rb
ffi-1.15.5-x86-mingw32 samples/getlogin.rb
ory-client-0.0.1.alpha43 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha42 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
phillipug-foodie-0.1.0 .vendor/ruby/3.0.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha41 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha40 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha39 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha38 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha37 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha36 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-kratos-client-0.8.2.alpha1 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha31 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha30 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha29 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha28 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha27 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
ory-client-0.0.1.alpha24 vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/samples/getlogin.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/ffi-1.15.4/samples/getlogin.rb