Logo Search packages:      
Sourcecode: bglibs version File versions

void str_lower ( str s  ) 

Translate all upper-case characters to lower-case

Definition at line 22 of file lower.c.

References len, and s.

{
  char* ptr;
  unsigned i;
  for (i = 0, ptr = s->s; i < s->len; ++i, ++ptr)
    if (isupper(*ptr)) *ptr = tolower(*ptr);
}


Generated by  Doxygen 1.6.0   Back to index