Apply tolower() to every character of the sds string 's'. */
| 808 | |
| 809 | /* Apply tolower() to every character of the sds string 's'. */ |
| 810 | void sdstolower(sds s) { |
| 811 | size_t len = sdslen(s), j; |
| 812 | |
| 813 | for (j = 0; j < len; j++) s[j] = tolower(s[j]); |
| 814 | } |
| 815 | |
| 816 | /* Apply toupper() to every character of the sds string 's'. */ |
| 817 | void sdstoupper(sds s) { |
no test coverage detected