home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Mint / mntlib32.zoo / strlwr.c < prev    next >
C/C++ Source or Header  |  1993-05-23  |  280b  |  19 lines

  1. #include <ctype.h>
  2.  
  3. char *strlwr(string)
  4. register char *string;
  5. {
  6.     register char *p = string;
  7.  
  8.     if(p) 
  9.     {
  10.         while(*string)
  11.         {
  12.             if(isupper(*string))
  13.                 *string = tolower(*string);
  14.             ++string;
  15.         }
  16.     }
  17.     return(p);
  18. }
  19.