MCPcopy Create free account
hub / github.com/antirez/botlib / sdscatsds

Function sdscatsds

sds.c:420–422  ·  view source on GitHub ↗

Append the specified sds 't' to the existing sds 's'. * * After the call, the modified sds string is no longer valid and all the * references must be substituted with the new pointer returned by the call. */

Source from the content-addressed store, hash-verified

418 * After the call, the modified sds string is no longer valid and all the
419 * references must be substituted with the new pointer returned by the call. */
420sds sdscatsds(sds s, const sds t) {
421 return sdscatlen(s, t, sdslen(t));
422}
423
424/* Destructively modify the sds string 's' to hold the specified binary
425 * safe string pointed by 't' of length 'len' bytes. */

Callers 1

sdsjoinsdsFunction · 0.85

Calls 2

sdscatlenFunction · 0.85
sdslenFunction · 0.85

Tested by

no test coverage detected