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

Function fd_set_nonblocking

src/daemon/ipc.c:625–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623}
624
625static bool fd_set_nonblocking(int fd) {
626 int flags = fcntl(fd, F_GETFL);
627 return flags >= 0 && fcntl(fd, F_SETFL, flags | O_NONBLOCK) == 0;
628}
629
630static bool socket_disable_sigpipe(int fd) {
631#ifdef SO_NOSIGPIPE

Callers 2

local_socket_newFunction · 0.85
cbm_daemon_ipc_acceptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected