|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjnr.ffi.LastError
public final class LastError
LastError provides access to the unix errno and windows GetLastError() value.
| Method Summary | |
|---|---|
static int |
getLastError(Runtime runtime)
Gets the value of errno from the last native call. |
static void |
setLastError(Runtime runtime,
int error)
Sets the native errno value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final int getLastError(Runtime runtime)
runtime - FFI runtime to get errno for.
public static final void setLastError(Runtime runtime,
int error)
runtime - FFI runtime to set errno for.error - The value to set errno to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||