Apply toupper() to every character of the sds string 's'. */
| 815 | |
| 816 | /* Apply toupper() to every character of the sds string 's'. */ |
| 817 | void 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 | * |
no test coverage detected