Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
towlower.c File Reference
#include "_towcase.h"
#include <ctype.h>
Include dependency graph for towlower.c:

Go to the source code of this file.

Functions

wint_t towlower (wint_t wc)
 

Function Documentation

◆ towlower()

wint_t towlower ( wint_t  wc)

Definition at line 4 of file towlower.c.

5 {
6  return (wint_t)(wc < 128 ? tolower((int)wc) : __towcase((wchar_t)wc, 1));
7 }
int tolower(int ch)
Converts the given character to lowercase.
Definition: tolower.c:5
unsigned wint_t
Definition: wctype.h:11
wchar_t __towcase(wchar_t wc, int lower)
Definition: towccase.c:218

References __towcase(), and tolower().

Referenced by iswupper(), and towctrans().

Here is the caller graph for this function: