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

Source from the content-addressed store, hash-verified

625}
626
627static void runtime_process_image_reference_init(runtime_process_image_reference_t *reference) {
628 if (!reference) {
629 return;
630 }
631 memset(reference, 0, sizeof(*reference));
632#ifdef _WIN32
633 reference->file = INVALID_HANDLE_VALUE;
634#elif defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
635 reference->fd = -1;
636#endif
637}
638
639static bool runtime_process_image_reference_release(runtime_process_image_reference_t *reference) {
640 if (!reference) {

Calls

no outgoing calls

Tested by

no test coverage detected