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

Function connFormatFdAddr

app/redis-6.2.6/src/connection.c:383–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383int connFormatFdAddr(connection *conn, char *buf, size_t buf_len, int fd_to_str_type) {
384 return anetFormatFdAddr(conn ? conn->fd : -1, buf, buf_len, fd_to_str_type);
385}
386
387int connBlock(connection *conn) {
388 if (conn->fd == -1) return C_ERR;

Callers 1

genClientAddrStringFunction · 0.85

Calls 1

anetFormatFdAddrFunction · 0.85

Tested by

no test coverage detected