Annotation of /tags/mkinitrd-6_1_12/busybox/libbb/str_tolower.c
Parent Directory | Revision Log
Revision 939 -
(hide annotations)
(download)
Tue Nov 17 21:24:51 2009 UTC (14 years, 7 months ago) by niro
File MIME type: text/plain
File size: 290 byte(s)
Tue Nov 17 21:24:51 2009 UTC (14 years, 7 months ago) by niro
File MIME type: text/plain
File size: 290 byte(s)
tagged 'mkinitrd-6_1_12'
1 | niro | 816 | /* 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 tarball for details. | ||
5 | */ | ||
6 | #include "libbb.h" | ||
7 | |||
8 | char* FAST_FUNC str_tolower(char *str) | ||
9 | { | ||
10 | char *c; | ||
11 | for (c = str; *c; ++c) | ||
12 | *c = tolower(*c); | ||
13 | return str; | ||
14 | } |