Module: Kernel
- Extended by:
- FFI::Library
- Defined in:
- lib/ktools/epoll.rb,
lib/ktools/kqueue.rb,
lib/ktools/ktools.rb
Defined Under Namespace
Instance Method Summary collapse
-
#errno ⇒ Object
Returns the current system errno as a Ruby Errno object.
Instance Method Details
#errno ⇒ Object
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 |