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

Function pwrite

src/foundation/mem_override_libc.c:290–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290ssize_t pwrite(int fd, const void *buf, size_t n, off_t off) {
291 ssize_t put = RESOLVED(r_pwrite, "pwrite")(fd, buf, n, off);
292 note_io(CBM_WORK_PWRITE, SITE(), (long long)put, n);
293 ACC_LOAD(buf, put > 0 ? (size_t)put : 0);
294 return put;
295}
296
297int open(const char *path, int flags, ...) {
298 int mode = 0;

Callers 1

Calls 1

note_ioFunction · 0.85

Tested by

no test coverage detected