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

Function _hx_std_process_pid

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

process_pid : 'process -> int Returns the process id. **/

Source from the content-addressed store, hash-verified

548 </doc>
549**/
550int _hx_std_process_pid( Dynamic handle )
551{
552 vprocess *p = getProcess(handle);
553
554 #ifdef NEKO_WINDOWS
555 return p->pinf.dwProcessId;
556 #else
557 return p->pid;
558 #endif
559}
560
561void _hx_std_process_kill( Dynamic handle )
562{

Callers

nothing calls this directly

Calls 1

getProcessFunction · 0.85

Tested by

no test coverage detected