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

wint_t, WEOF - integer type capable of storing any wchar_t of WEOF

Description

wint_t  is  a  type used in functions that work with wide characters.  It is capable of storing any valid
       wchar_t or WEOF.  It is an integer type.

       WEOF is used by wide-character functions to indicate the end of an input file or an error.  It is of type
       wint_t.

History

       C99, POSIX.1-2001.

       The WINT_WIDTH macro was added in C23.

Library

       Standard C library (libc)

Name

       wint_t, WEOF - integer type capable of storing any wchar_t of WEOF

Notes

       The following header also provides wint_t and WEOF: <wctype.h>.

See Also

wchar_t(3type), fputwc(3)

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

Standards

       C11, POSIX.1-2008.

Synopsis

#include<wchar.h>typedef /* ... */  wint_t;#defineWEOF        /* ... */

       #include<stdint.h>#defineWINT_WIDTH  /* ... */
       #defineWINT_MAX    /* ... */
       #defineWINT_MIN    /* ... */

See Also