home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
news
/
cnews.tar
/
libcnews
/
strlower.c
< prev
next >
Wrap
C/C++ Source or Header
|
1987-08-03
|
175b
|
14 lines
/*
* make a string all lower-case.
*/
#include <ctype.h>
strlower(s)
register char *s;
{
for (; *s != '\0'; ++s)
if (isascii(*s) && isupper(*s))
*s = tolower(*s);
}