File: wint_t.3type

package info (click to toggle)
manpages 6.16-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 20,476 kB
  • sloc: sh: 576; python: 222; perl: 191; makefile: 29; lisp: 22
file content (56 lines) | stat: -rw-r--r-- 1,099 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.\" Copyright, the authors of the Linux man-pages project
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.TH wint_t 3type 2025-10-29 "Linux man-pages (unreleased)"
.SH NAME
wint_t,
WEOF
\-
integer type capable of storing any wchar_t of WEOF
.SH LIBRARY
Standard C library
.RI ( libc )
.SH SYNOPSIS
.nf
.B #include <wchar.h>
.P
.BR typedef " /* ... */  " wint_t;
.P
.BR "#define WEOF        " "/* ... */"
.P
.B #include <stdint.h>
.P
.BR "#define WINT_WIDTH  " "/* ... */"
.BR "#define WINT_MAX    " "/* ... */"
.BR "#define WINT_MIN    " "/* ... */"
.fi
.SH DESCRIPTION
.I 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.
.P
.B WEOF
is used by wide-character functions
to indicate the end of an input file
or an error.
It is of type
.IR wint_t .
.SH STANDARDS
C11, POSIX.1-2024.
.SH HISTORY
C99, POSIX.1-2001.
.P
The
.B WINT_WIDTH
macro was added in C23.
.SH NOTES
The following header also provides
.I wint_t
and
.BR WEOF :
.IR <wctype.h> .
.SH SEE ALSO
.BR wchar_t (3type),
.BR fputwc (3)