/* strupr.c */ #ifdef __unix__ #include "strupr.h" #include char* strlwr( char* s ) { char* p = s; while( *p ) { *p = tolower( *p ); /* a macro on some compilers */ p++; } return s; } char* strupr( char* s ) { char* p = s; while( *p ) { *p = toupper( *p ); /* a macro on some compilers */ p++; } return s; } #endif /* __unix__ */