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

Function capture_start

tests/test_log.c:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33static void capture_start(void) {
34 fflush(stderr);
35 saved_stderr = dup(STDERR_FILENO);
36 cbm_pipe(pipe_fds);
37#ifndef _WIN32
38 /* Set read end to non-blocking */
39 fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK);
40#endif
41 dup2(pipe_fds[1], STDERR_FILENO);
42 close(pipe_fds[1]);
43}
44
45static const char *capture_end(void) {
46 fflush(stderr);

Callers 1

test_log.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected