From: Alejandro Colomar Date: Thu, 2 May 2024 11:39:09 +0000 (+0200) Subject: wchar_t.3type: Add page X-Git-Tag: man-pages-6.8~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffddce5d46d930f81df512de39dfc2fb706d5c2d;p=thirdparty%2Fman-pages.git wchar_t.3type: Add page Signed-off-by: Alejandro Colomar --- diff --git a/man/man3type/wchar_t.3type b/man/man3type/wchar_t.3type new file mode 100644 index 0000000000..d012bfa2ef --- /dev/null +++ b/man/man3type/wchar_t.3type @@ -0,0 +1,48 @@ +.\" Copyright (c) 2024 by Alejandro Colomar +.\" +.\" SPDX-License-Identifier: Linux-man-pages-copyleft +.\" +.TH wchar_t 3type (date) "Linux man-pages (unreleased)" +.SH NAME +wchar_t +\- +wide-character type +.SH LIBRARY +Standard C library +.RI ( libc ) +.SH SYNOPSIS +.nf +.B #include +.P +.BR typedef " /* ... */ " wchar_t; +.P +.B #include +.P +.BR "#define WCHAR_WIDTH " "/* ... */" +.BR "#define WCHAR_MAX " "/* ... */" +.BR "#define WCHAR_MIN " "/* ... */" +.fi +.SH DESCRIPTION +.I wchar_t +is a type used for storing a wide character. +It is an integer type. +.SH STANDARDS +C11, POSIX.1-2008. +.SH HISTORY +C99, POSIX.1-2001. +.P +The +.B WCHAR_WIDTH +macro was added in C23. +.SH NOTES +The following headers also provide this type: +.IR , +.IR , +.IR , +.IR . +.P +The following header also provides these macros: +.IR . +.SH SEE ALSO +.BR wint_t (3type), +.BR fputwc (3)