public class PosixAPI extends Object
Constructor and Description |
---|
PosixAPI() |
Modifier and Type | Method and Description |
---|---|
static org.jruby.ext.posix.POSIX |
get()
Deprecated.
Use
jnr() instead. |
boolean |
isNative()
Deprecated.
use
jnr() and POSIX.isNative() |
static jnr.posix.POSIX |
jnr()
Load the JNR implementation of the POSIX APIs for the current platform.
|
static boolean |
supportsNative()
Deprecated.
use
jnr() and POSIX.isNative() |
public static jnr.posix.POSIX jnr()
PosixException
.
IllegalStateException
will be thrown for methods not implemented on this platform.@Deprecated public boolean isNative()
jnr()
and POSIX.isNative()
@Deprecated public static boolean supportsNative()
jnr()
and POSIX.isNative()
@Deprecated public static org.jruby.ext.posix.POSIX get()
jnr()
instead.Copyright © 2004–2021. All rights reserved.