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:524–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected