mirror of
https://github.com/diegocr/libnix.git
synced 2025-12-08 14:58:32 +00:00
17 lines
220 B
C
17 lines
220 B
C
#include <ctype.h>
|
|
#include "stabs.h"
|
|
|
|
char *strupper(char *s)
|
|
{ unsigned char *s1;
|
|
|
|
s1=(unsigned char *)s;
|
|
while(*s1) {
|
|
if (islower(*s1))
|
|
*s1-='a'-'A';
|
|
++s1;
|
|
}
|
|
return s;
|
|
}
|
|
|
|
ALIAS(strupr,strupper);
|