Module: Kernel

Extended by:
FFI::Library
Defined in:
lib/ktools/epoll.rb,
lib/ktools/kqueue.rb,
lib/ktools/ktools.rb

Defined Under Namespace

Classes: Epoll, Kqueue

Instance Method Summary collapse

Instance Method Details

#errnoObject

Returns the current system errno as a Ruby Errno object



14
15
16
# File 'lib/ktools/ktools.rb', line 14

def errno
  SystemCallError.new(get_errno)
end