MCPcopy Create free account
hub / github.com/F-Stack/f-stack / anetBlock

Function anetBlock

app/redis-6.2.6/src/anet.c:103–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103int anetBlock(char *err, int fd) {
104 return anetSetBlock(err,fd,0);
105}
106
107/* Enable the FD_CLOEXEC on the given fd to avoid fd leaks.
108 * This function should be invoked for fd's on specific places

Callers 2

setBlockingTimeoutFunction · 0.85
connBlockFunction · 0.85

Calls 1

anetSetBlockFunction · 0.85

Tested by

no test coverage detected