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

Function posix_log_path_close

src/daemon/service.c:436–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434} posix_log_path_t;
435
436static void posix_log_path_close(posix_log_path_t *path) {
437 if (path && path->dir_fd >= 0) {
438 (void)close(path->dir_fd);
439 path->dir_fd = -1;
440 }
441}
442
443static bool posix_log_path_open(const char *log_path, posix_log_path_t *path) {
444 size_t length = 0;

Callers 2

posix_log_path_openFunction · 0.85
posix_log_appendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected