Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
wctrans()
Define a wide-character mapping
Synopsis:
#include <wctype.h> wctrans_t wctrans(const char *property);
Arguments:
- property
- The type of mapping; see below.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The wctrans() function determines a mapping rule for wide-character codes according to the category LC_CTYPE, particularly for use with towctrans().
The following mappings are defined in all locales, although additional classes may be defined for LC_CTYPE:
- tolower
- toupper
Use setlocale() to modify the category LC_CTYPE.
Returns:
An object that you can use in a call to towctrans(), or 0 if the specified character mapping isn't valid for the current locale.
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
See also:
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)