blob: c6935f8f2f9d09452a49d4e95f532db46edebee8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "internal.h"
// lower will force all runes in the string to be lowercase
void
str·lower(string s)
{
byte *b, *e;
b = s;
e = b + str·len(s);
while (b++ != e)
*b = tolower(*b);
}
|