mirror of
https://github.com/diegocr/libnix.git
synced 2026-09-13 20:20:36 +00:00
17 lines
220 B
C
17 lines
220 B
C
#include <ctype.h>
|
|
#include "stabs.h"
|
|
|
|
char *strlower(char *s)
|
|
{ unsigned char *s1;
|
|
|
|
s1=(unsigned char *)s;
|
|
while(*s1) {
|
|
if (isupper(*s1))
|
|
*s1+='a'-'A';
|
|
++s1;
|
|
}
|
|
return s;
|
|
}
|
|
|
|
ALIAS(strlwr,strlower);
|