MCPcopy Index your code
hub / github.com/java-native-access/jna / getLastError

Method getLastError

src/com/sun/jna/Native.java:1288–1288  ·  view source on GitHub ↗

Retrieve last error set by the OS. This corresponds to GetLastError() on Windows, and errno on most other platforms. The value is preserved per-thread, but whether the original value is per-thread depends on the underlying OS. An alternative method of obtaining the la

()

Source from the content-addressed store, hash-verified

1286 * returned value from the native function.</p>
1287 */
1288 public static native int getLastError();
1289
1290 /** Set the OS last error code. The value will be saved on a per-thread
1291 * basis.

Callers 15

getErrnoMethod · 0.95
kstatReadMethod · 0.95
testStatvfsMethod · 0.95
testMmapToShmMethod · 0.95
testPrintWindowMethod · 0.95
testIsWindowEnabledMethod · 0.95
testFindWindowExMethod · 0.95
testSetWinEventHookMethod · 0.95
testUnhookWinEventMethod · 0.95
testCopyIconMethod · 0.95
testGetClassLongMethod · 0.95

Calls

no outgoing calls

Tested by 15

getErrnoMethod · 0.76
kstatReadMethod · 0.76
testStatvfsMethod · 0.76
testMmapToShmMethod · 0.76
testPrintWindowMethod · 0.76
testIsWindowEnabledMethod · 0.76
testFindWindowExMethod · 0.76
testSetWinEventHookMethod · 0.76
testUnhookWinEventMethod · 0.76
testCopyIconMethod · 0.76
testGetClassLongMethod · 0.76