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

Function runtime_process_image_reference_init

src/daemon/runtime.c:520–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520static void runtime_process_image_reference_init(runtime_process_image_reference_t *reference) {
521 if (!reference) {
522 return;
523 }
524 memset(reference, 0, sizeof(*reference));
525#ifdef _WIN32
526 reference->file = INVALID_HANDLE_VALUE;
527#elif defined(__APPLE__) || defined(__linux__)
528 reference->fd = -1;
529#endif
530}
531
532static bool runtime_process_image_reference_release(runtime_process_image_reference_t *reference) {
533 if (!reference) {

Calls

no outgoing calls

Tested by

no test coverage detected