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

Function addReplyBulkCString

app/redis-6.2.6/src/networking.c:851–857  ·  view source on GitHub ↗

Add a C null term string as bulk reply */

Source from the content-addressed store, hash-verified

849
850/* Add a C null term string as bulk reply */
851void addReplyBulkCString(client *c, const char *s) {
852 if (s == NULL) {
853 addReplyNull(c);
854 } else {
855 addReplyBulkCBuffer(c,s,strlen(s));
856 }
857}
858
859/* Add a long long as a bulk reply */
860void addReplyBulkLongLong(client *c, long long ll) {

Callers 15

configGetCommandFunction · 0.85
boolConfigGetFunction · 0.85
stringConfigGetFunction · 0.85
sdsConfigGetFunction · 0.85
enumConfigGetFunction · 0.85
numericConfigGetFunction · 0.85
sentinelConfigGetCommandFunction · 0.85
sentinelCommandFunction · 0.85
sentinelRoleCommandFunction · 0.85
roleCommandFunction · 0.85

Calls 2

addReplyNullFunction · 0.85
addReplyBulkCBufferFunction · 0.85

Tested by

no test coverage detected