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

Function descriptor

classpath/java-lang.cpp:200–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198#endif
199
200int descriptor(JNIEnv* e, HANDLE h)
201{
202 int fd = _open_osfhandle(reinterpret_cast<intptr_t>(h), 0);
203 if (fd == -1) {
204 throwNewErrno(e, "java/io/IOException");
205 }
206 return fd;
207}
208#else
209void makePipe(JNIEnv* e, int p[2])
210{

Callers 1

Calls 1

throwNewErrnoFunction · 0.85

Tested by

no test coverage detected