Last change
on this file since 2457 was 1765, checked in by Bruno Cornec, 17 years ago |
Update to busybox 1.7.2
|
-
Property svn:eol-style
set to
native
|
File size:
279 bytes
|
Rev | Line | |
---|
[1765] | 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 tarball for details.
|
---|
| 5 | */
|
---|
| 6 | #include "libbb.h"
|
---|
| 7 | char* str_tolower(char *str)
|
---|
| 8 | {
|
---|
| 9 | char *c;
|
---|
| 10 | for (c = str; *c; ++c)
|
---|
| 11 | *c = tolower(*c);
|
---|
| 12 | return str;
|
---|
| 13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.