wint_t(3type) — Linux manual page
wint_t(3type) wint_t(3type)
NAME
wint_t, WEOF - integer type capable of storing any wchar_t of WEOF
LIBRARY
Standard C library (libc)
SYNOPSIS
#include <wchar.h> typedef /* ... */ wint_t; #define WEOF /* ... */ #include <stdint.h> #define WINT_WIDTH /* ... */ #define WINT_MAX /* ... */ #define WINT_MIN /* ... */
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.
STANDARDS
C11, POSIX.1-2008.
HISTORY
C99, POSIX.1-2001. The WINT_WIDTH macro was added in C23.
NOTES
The following header also provides wint_t and WEOF: <wctype.h>.
SEE ALSO
wchar_t(3type), fputwc(3)
COLOPHON
This page is part of the man-pages (Linux kernel and C library user-space interface documentation) project. Information about the project can be found at ⟨https://www.kernel.org/doc/man-pages/⟩. If you have a bug report for this manual page, see ⟨https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING⟩. This page was obtained from the tarball man-pages-6.9.1.tar.gz fetched from ⟨https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/⟩ on 2024-06-26. If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up- to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to man-pages@man7.org Linux man-pages 6.9.1 2024-05-03 wint_t(3type)
Pages that refer to this page: wchar_t(3type)