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

Function sdstolower

sds.c:768–772  ·  view source on GitHub ↗

Apply tolower() to every character of the sds string 's'. */

Source from the content-addressed store, hash-verified

766
767/* Apply tolower() to every character of the sds string 's'. */
768void sdstolower(sds s) {
769 size_t len = sdslen(s), j;
770
771 for (j = 0; j < len; j++) s[j] = tolower(s[j]);
772}
773
774/* Apply toupper() to every character of the sds string 's'. */
775void sdstoupper(sds s) {

Callers

nothing calls this directly

Calls 1

sdslenFunction · 0.85

Tested by

no test coverage detected