Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ rioInitWithFd
Function
rioInitWithFd
app/redis-6.2.6/src/rio.c:371–376 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
369
};
370
371
void rioInitWithFd(rio *r, int fd) {
372
*r = rioFdIO;
373
r->io.fd.fd = fd;
374
r->io.fd.pos = 0;
375
r->io.fd.buf = sdsempty();
376
}
377
378
/* release the rio stream. */
379
void rioFreeFd(rio *r) {
Callers
1
rdbSaveToSlavesSockets
Function · 0.85
Calls
1
sdsempty
Function · 0.85
Tested by
no test coverage detected