Module: ChildProcess::Unix::Lib
- Extended by:
- FFI::Library
- Defined in:
- lib/childprocess/unix/lib.rb
Defined Under Namespace
Classes: Attrs, FileActions
Class Method Summary collapse
Class Method Details
.check(errno) ⇒ Object
83 84 85 86 87 |
# File 'lib/childprocess/unix/lib.rb', line 83 def self.check(errno) if errno != 0 raise Error, Lib.strerror(errno) end end |