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

Function cbm_nprocs

src/foundation/platform.c:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102int cbm_nprocs(void) {
103 SYSTEM_INFO si;
104 GetSystemInfo(&si);
105 return (int)si.dwNumberOfProcessors > 0 ? (int)si.dwNumberOfProcessors : 1;
106}
107
108bool cbm_file_exists(const char *path) {
109 wchar_t *wpath = cbm_utf8_to_wide(path);

Callers 1

test_platform.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected