home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Mint / mntlib25.zoo / strlwr.c < prev    next >
C/C++ Source or Header  |  1992-09-05  |  206b  |  16 lines

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