Sha256: 45637110804d68b31e0b2f3345e71657a575fe91b8a3849c7f99c5018f44b1a7

Contents?: true

Size: 155 Bytes

Versions: 7061

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,061 entries across 7,055 versions & 41 rubygems

Version Path
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
ffi-1.15.3 samples/getlogin.rb
ffi-1.15.3-java samples/getlogin.rb
ffi-1.15.3-x64-mingw32 samples/getlogin.rb
ffi-1.15.3-x86-mingw32 samples/getlogin.rb
ffi-1.15.2 samples/getlogin.rb
ffi-1.15.2-java samples/getlogin.rb
ffi-1.15.2-x64-mingw32 samples/getlogin.rb
ffi-1.15.2-x86-mingw32 samples/getlogin.rb
ffi-1.15.1 samples/getlogin.rb
ffi-1.15.1-java samples/getlogin.rb
ffi-1.15.1-x64-mingw32 samples/getlogin.rb
ffi-1.15.1-x86-mingw32 samples/getlogin.rb