$manlookup

wchar_t

(3type)

wide-character type

Library functionsmanpages-dev 6.9.1-1
#include <stddef.h> typedef /* ... */ wchar_t; #include <stdint.h> #define WCHAR_WIDTH /* ... */ #define WCHAR_MAX /* ... */ #define WCHAR_MIN /* ... */

LIBRARY

Standard C library (libc)

DESCRIPTION

wchar_t is a type used for storing a wide character. It is an integer type.

STANDARDS

C11, POSIX.1-2008.

HISTORY

C99, POSIX.1-2001.

The WCHAR_WIDTH macro was added in C23.

NOTES

The following headers also provide this type: <inttypes.h>, <stdlib.h>, <wchar.h>, <wctype.h>.

The following header also provides these macros: <wchar.h>.

See also