public class JRubyPOSIXHelper extends Object
| Constructor and Description | 
|---|
| JRubyPOSIXHelper() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | checkErrno(Ruby runtime,
          int result)Helper for handling common POSIX situations where a negative return value
 from a function call indicates an error, and errno must be consulted to
 determine how exactly the function failed. | 
public static void checkErrno(Ruby runtime, int result)
runtime - Ruby runtimeresult - return value of a POSIX callCopyright © 2001-2015 JRuby. All Rights Reserved.