headers/bsd: Add sys/queue.h.
[haiku.git] / src / system / libroot / posix / string / strlwr.c
blob16b20b05e16ef3c82acefa3128dfb147ab470ed8
1 /*
2 * Copyright 2008, Mika Lindqvist. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
6 #include <ctype.h>
7 #include <string.h>
9 char *
10 strlwr(char *str)
12 char *c = str;
13 while (*c) {
14 *c = tolower(*c);
15 c++;
18 return str;