MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / runtime_current_process_id

Function runtime_current_process_id

src/daemon/runtime.c:617–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617static uint64_t runtime_current_process_id(void) {
618#ifdef _WIN32
619 return (uint64_t)GetCurrentProcessId();
620#elif defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
621 return (uint64_t)getpid();
622#else
623 return 0;
624#endif
625}
626
627static void runtime_process_image_reference_init(runtime_process_image_reference_t *reference) {
628 if (!reference) {

Calls

no outgoing calls

Tested by

no test coverage detected