tools/src/file2dsk/main.c
// Function strtoupper
//          ~~~~~~~~~~
// Converts a string to uppercase.
//
// Parameters:
//    psz  String that will be converted to uppercase
//
// Returns a pointer to converted string (same as input) for convenience
//


psz  String that will be converted to uppercase

Returns a pointer to converted string (same as input) for convenience
psz String that will be converted to uppercase Returns a pointer to converted string ( same as input ) for convenience
char * strtoupper (char *psz) {
    int iLen = strlen(psz);  
    int iPos;                
    for (iPos = 0; iPos < iLen; iPos++)
        psz[iPos] = toupper(psz[iPos]);
    return psz;
}
char * strtoupper ( char * psz ) { int iLen = strlen ( psz ) ; int iPos ; for ( iPos = 0 ; iPos < iLen ; iPos ++ ) psz [ iPos ] = toupper ( psz [ iPos ] ) ; return psz ; }
Function strtoupper
~~~~~~~~~~
Converts a string to uppercase.
Function strtoupper ~~~~~~~~~~ Converts a string to uppercase .
// Length of string // Counter for position