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

Function sdstoupper

app/redis-6.2.6/src/sds.c:817–821  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

815
816/* Apply toupper() to every character of the sds string 's'. */
817void sdstoupper(sds s) {
818 size_t len = sdslen(s), j;
819
820 for (j = 0; j < len; j++) s[j] = toupper(s[j]);
821}
822
823/* Compare two sds strings s1 and s2 with memcmp().
824 *

Callers 3

cliIntegrateHelpFunction · 0.85
addReplyHelpFunction · 0.85

Calls 2

sdslenFunction · 0.85
toupperFunction · 0.85

Tested by

no test coverage detected