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

Function _hx_std_process_stdin_close

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

process_stdin_close : 'process -> void Close the process standard input. **/

Source from the content-addressed store, hash-verified

437 </doc>
438**/
439void _hx_std_process_stdin_close( Dynamic handle )
440{
441 vprocess *p = getProcess(handle);
442
443 #ifdef NEKO_WINDOWS
444 if ( p->iwrite )
445 CloseHandle(p->iwrite);
446 #else
447 if( p->iwrite!=-1 )
448 do_close(p->iwrite);
449 #endif
450 p->iwrite = HANDLE_INIT;
451}
452
453/**
454 process_exit : 'process -> int

Callers

nothing calls this directly

Calls 2

getProcessFunction · 0.85
do_closeFunction · 0.85

Tested by

no test coverage detected