repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'Teaman-ND' into Teaman-RT
[tomato.git]
/
release
/
src
/
router
/
busybox
/
libbb
/
str_tolower.c
blob
c2d563798b3b8ba24c31ffb734fd67e55d4ab96d
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
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
}