Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
103
int 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
setBlockingTimeout
Function · 0.85
connBlock
Function · 0.85
Calls
1
anetSetBlock
Function · 0.85
Tested by
no test coverage detected