wchar_t − wide-character type
Standard C library (libc)
#include <stddef.h>
typedef /* ... */ wchar_t;
#include <stdint.h>
#define
WCHAR_WIDTH /* ... */
#define WCHAR_MAX /* ... */
#define WCHAR_MIN /* ... */
wchar_t is a type used for storing a wide character. It is an integer type.
C11, POSIX.1-2024.
C99, POSIX.1-2001.
The WCHAR_WIDTH macro was added in C23.
The following headers also provide this type: <inttypes.h>, <stdlib.h>, <wchar.h>, <wctype.h>.
The following header also provides these macros: <wchar.h>.
wint_t(3type), fputwc(3)