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

Function bootstrap_current_pid

src/daemon/bootstrap.c:369–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369static uint64_t bootstrap_current_pid(void) {
370#ifdef _WIN32
371 return (uint64_t)GetCurrentProcessId();
372#else
373 return (uint64_t)getpid();
374#endif
375}
376
377bool cbm_daemon_bootstrap_start_failure_record(const char *log_directory,
378 const cbm_daemon_ipc_endpoint_t *endpoint,

Calls

no outgoing calls

Tested by

no test coverage detected