MCPcopy Create free account
hub / github.com/ReadyTalk/avian / Java_java_io_File_canExecute

Function Java_java_io_File_canExecute

classpath/java-io.cpp:431–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431extern "C" JNIEXPORT jboolean JNICALL
432 Java_java_io_File_canExecute(JNIEnv* e, jclass, jstring path)
433{
434 string_t chars = getChars(e, path);
435 if (chars) {
436 int r = ACCESS(chars, CHECK_X_OK);
437 releaseChars(e, path, chars);
438 return (r == 0);
439 }
440 return false;
441}
442
443#ifndef PLATFORM_WINDOWS
444extern "C" JNIEXPORT jboolean JNICALL

Callers

nothing calls this directly

Calls 2

getCharsFunction · 0.85
releaseCharsFunction · 0.85

Tested by

no test coverage detected