+ int ch, start, i;
+ int olen, allupper, firstupper;
+
+ /* See if the word is all upper case */
+ allupper = firstupper = isupper((unsigned char)buf[0]);
+ for (i = 1; i < len && allupper; i++)
+ allupper = allupper && isupper((unsigned char)buf[i]);