source: MondoRescue/branches/3.0/mindi-busybox/libbb/str_tolower.c@ 2899

Last change on this file since 2899 was 2725, checked in by Bruno Cornec, 13 years ago
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
  • Property svn:eol-style set to native
File size: 282 bytes
Line 
1/* vi set: sw=4 ts=4: */
2/* Convert string str to lowercase, return str.
3 *
4 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
5 */
6#include "libbb.h"
7
8char* FAST_FUNC str_tolower(char *str)
9{
10 char *c;
11 for (c = str; *c; ++c)
12 *c = tolower(*c);
13 return str;
14}
Note: See TracBrowser for help on using the repository browser.