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

Function posix_sync

src/daemon/service.c:566–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564}
565
566static bool posix_sync(int fd) {
567 for (;;) {
568 if (fsync(fd) == 0) {
569 return true;
570 }
571 if (errno != EINTR) {
572 return false;
573 }
574 }
575}
576
577static bool posix_log_refresh_locked(const posix_log_path_t *path, int fd,
578 struct stat *status_out) {

Callers 1

posix_log_appendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected