stride/tolostr.c
2013-09-18 16:12:31 +02:00

20 lines
360 B
C

#include <stdio.h>
#include <string.h>
#include <ctype.h>
#define BUFSZ 1024
char *tolostr(char *InputString)
{
register int i;
int Length;
static char OutputString[BUFSZ];
strcpy(OutputString,InputString);
Length = (int)strlen(OutputString);
for( i=0; i<Length; i++ )
OutputString[i] = tolower(OutputString[i]);
return(OutputString);
}