/*caps convert input command line (through eol) to ALL CAPS */ #include #include "cddefines.h" #include "caps.h" void caps(char *chCard ) { long int i; # ifdef DEBUG_FUN fputs( "<+>caps()\n", debug_fp ); # endif /* convert full character string in chCard to ALL CAPS */ i = 0; while( chCard[i]!= '\0' ) { chCard[i] = (char)toupper( chCard[i] ); ++i; } # ifdef DEBUG_FUN fputs( " <->caps()\n", debug_fp ); # endif return; }