logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wchar_t - wide-character type

Description

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

History

       C99, POSIX.1-2001.

       The WCHAR_WIDTH macro was added in C23.

Library

       Standard C library (libc)

Name

       wchar_t - wide-character type

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

wint_t(3type), fputwc(3)

Linux man-pages 6.9.1                              2024-05-03                                     wchar_t(3type)

Standards

       C11, POSIX.1-2008.

Synopsis

#include<stddef.h>typedef /* ... */  wchar_t;#include<stdint.h>#defineWCHAR_WIDTH  /* ... */
       #defineWCHAR_MAX    /* ... */
       #defineWCHAR_MIN    /* ... */

See Also