home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_100
/
187_01
/
strlower.c
< prev
next >
Wrap
C/C++ Source or Header
|
1986-02-26
|
905b
|
28 lines
/*@*****************************************************/
/*@ */
/*@ strlower - change all letters in a string to */
/*@ lower case. */
/*@ */
/*@ Usage: strlower(str); */
/*@ where str is a string. It is converted in */
/*@ place. */
/*@ */
/*@ Result: It returns the address of str. */
/*@ */
/*@ */
/*@*****************************************************/
strlower(str)
char *str;
{
char *save;
save = str;
while (*str) {
*str = tolower(*str);
str++;
}
return save;
}