Like sdscpylen() but 't' must be a null-termined string so that the length * of the string is obtained with strlen(). */
| 472 | /* Like sdscpylen() but 't' must be a null-termined string so that the length |
| 473 | * of the string is obtained with strlen(). */ |
| 474 | sds sdscpy(sds s, const char *t) { |
| 475 | return sdscpylen(s, t, strlen(t)); |
| 476 | } |
| 477 | |
| 478 | /* Helper for sdscatlonglong() doing the actual number -> string |
| 479 | * conversion. 's' must point to a string with room for at least |
no test coverage detected