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

Function sdstoupper

sds.c:775–779  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

773
774/* Apply toupper() to every character of the sds string 's'. */
775void sdstoupper(sds s) {
776 size_t len = sdslen(s), j;
777
778 for (j = 0; j < len; j++) s[j] = toupper(s[j]);
779}
780
781/* Compare two sds strings s1 and s2 with memcmp().
782 *

Callers

nothing calls this directly

Calls 1

sdslenFunction · 0.85

Tested by

no test coverage detected