mirror of
https://git.busybox.net/busybox.git
synced 2024-11-25 14:43:29 +08:00
14 lines
279 B
C
14 lines
279 B
C
|
/* vi set: sw=4 ts=4: */
|
||
|
/* Convert string str to lowercase, return str.
|
||
|
*
|
||
|
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
||
|
*/
|
||
|
#include "libbb.h"
|
||
|
char* str_tolower(char *str)
|
||
|
{
|
||
|
char *c;
|
||
|
for (c = str; *c; ++c)
|
||
|
*c = tolower(*c);
|
||
|
return str;
|
||
|
}
|