Convert a wide character to a single-byte code
#include <wchar.h> int wctob( wint_t c );
libc
The wctob() function returns the single-byte representation of a wide character.
This function is affected by LC_CTYPE.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
"String manipulation functions" and "Wide-character functions" in the summary of functions chapter.