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

Function sdscpy

sds.c:439–441  ·  view source on GitHub ↗

Like sdscpylen() but 't' must be a null-termined string so that the length * of the string is obtained with strlen(). */

Source from the content-addressed store, hash-verified

437/* Like sdscpylen() but 't' must be a null-termined string so that the length
438 * of the string is obtained with strlen(). */
439sds sdscpy(sds s, const char *t) {
440 return sdscpylen(s, t, strlen(t));
441}
442
443/* Helper for sdscatlonglong() doing the actual number -> string
444 * conversion. 's' must point to a string with room for at least

Callers 1

sdsTestFunction · 0.85

Calls 1

sdscpylenFunction · 0.85

Tested by

no test coverage detected