public final class LastError extends Object
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static int getLastError(Runtime runtime)
runtime - FFI runtime to get errno for.public static void setLastError(Runtime runtime, int error)
runtime - FFI runtime to set errno for.error - The value to set errno to.Copyright © 2017. All rights reserved.