/*
* Convert the string to uppercase.
*/
while (*p)
while (*p) {
*p = toupper(*p++);
*p = toupper(*p);
p++;
}
break;
case 2:
* Convert the string to lowercase.
*p = tolower(*p++);
*p = tolower(*p);
default:
* Convert the string to random case.
if (RANDOM(2) == 1)
else
return buf;