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

Function doClose

classpath/java-io.cpp:154–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154inline 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
162inline int doRead(JNIEnv* e, jint fd, jbyte* data, jint length)
163{

Calls 1

throwNewErrnoFunction · 0.85

Tested by

no test coverage detected