Module: Aggkit::ChildProcess::Unix::Lib
- Extended by:
- FFI::Library
- Defined in:
- lib/aggkit/childprocess/unix/lib.rb
Defined Under Namespace
Classes: Attrs, FileActions
Class Method Summary
collapse
Class Method Details
.check(errno) ⇒ Object
95
96
97
98
99
|
# File 'lib/aggkit/childprocess/unix/lib.rb', line 95
def self.check(errno)
if errno != 0
raise Error, Lib.strerror(FFI.errno)
end
end
|
.environ ⇒ Object
11
12
13
|
# File 'lib/aggkit/childprocess/unix/lib.rb', line 11
def self.environ
_NSGetEnviron().read_pointer
end
|