MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / do_close

Function do_close

src/hx/libs/std/Process.cpp:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29#ifndef NEKO_WINDOWS
30static int do_close( int fd )
31{
32 POSIX_LABEL(close_again);
33 if( close(fd) != 0 ) {
34 HANDLE_EINTR(close_again);
35 return 1;
36 }
37 return 0;
38}
39#endif
40
41

Callers 3

destroyMethod · 0.85
_hx_std_process_runFunction · 0.85

Calls 1

closeFunction · 0.85

Tested by

no test coverage detected