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