| 152 | } |
| 153 | |
| 154 | inline void doClose(JNIEnv* e, jint fd) |
| 155 | { |
| 156 | int r = CLOSE(fd); |
| 157 | if (r == -1) { |
| 158 | throwNewErrno(e, "java/io/IOException"); |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | inline int doRead(JNIEnv* e, jint fd, jbyte* data, jint length) |
| 163 | { |
no test coverage detected