| 730 | #endif // not PLATFORM_WINDOWS |
| 731 | |
| 732 | extern "C" JNIEXPORT jint JNICALL |
| 733 | Java_java_io_FileInputStream_open(JNIEnv* e, jclass, jstring path) |
| 734 | { |
| 735 | string_t chars = getChars(e, path); |
| 736 | if (chars) { |
| 737 | int fd = doOpen(e, chars, O_RDONLY); |
| 738 | releaseChars(e, path, chars); |
| 739 | return fd; |
| 740 | } else { |
| 741 | return -1; |
| 742 | } |
| 743 | } |
| 744 | |
| 745 | extern "C" JNIEXPORT jint JNICALL |
| 746 | Java_java_io_FileInputStream_read__I(JNIEnv* e, jclass, jint fd) |
nothing calls this directly
no test coverage detected