module ChildProcess::Unix::Lib

Public Class Methods

check(errno) click to toggle source
# File lib/childprocess/unix/lib.rb, line 93
def self.check(errno)
  if errno != 0
    raise Error, Lib.strerror(FFI.errno)
  end
end
environ() click to toggle source
# File lib/childprocess/unix/lib.rb, line 9
def self.environ
  _NSGetEnviron().read_pointer
end