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

Go to the source code of this file.

Functions

wint_t towupper (wint_t wc)
 

Function Documentation

◆ towupper()

wint_t towupper ( wint_t  wc)

Definition at line 4 of file towupper.c.

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

References __towcase(), and toupper().

Referenced by iswlower(), and towctrans().

Here is the caller graph for this function: