{{keywords>wiki library source code example reference}}
====== tolower ======
#include
int tolower( int char );
Returns lower case type of the character
===== C Sourcecode Example =====
#include /* including standard library */
//#include /* uncomment this for Windows */
#include
int main ( void )
{
char string[30];
/* write the Chars "i" and "t" lowercase in the buffer "string" */
sprintf(string,"%c WHANT %cHIS IN LOWERCASE",tolower('I'), tolower('T'));
printf("%s\n",string);
return 0;
}
==== output ====
output:
user@host:~$ ./tolower
i WHANT tHIS IN LOWERCASE