NAME
getwchar - read a wide character from standard input
SYNOPSIS
#include <wchar.h> wint_t getwchar(void);
DESCRIPTION
The getwchar() function is the wide-character equivalent of the getchar(3) function. It reads a wide character from stdin and returns it. If the end of stream is reached, or if ferror(stdin) becomes true, it returns WEOF. If a wide-character conversion error occurs, it sets errno to EILSEQ and returns WEOF. For a nonlocking counterpart, see unlocked_stdio(3).
RETURN VALUE
The getwchar() function returns the next wide-character from standard input, or WEOF.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). Interface Attribute Value getwchar() Thread safety MT-Safe
CONFORMING TO
POSIX.1-2001, POSIX.1-2008, C99.
NOTES
The behavior of getwchar() depends on the LC_CTYPE category of the current locale. It is reasonable to expect that getwchar() will actually read a multibyte sequence from standard input and then convert it to a wide character.
SEE ALSO
fgetwc(3), unlocked_stdio(3)
COLOPHON
This page is part of release 4.09 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
More Linux Commands
manpages/tcgetsid.3.html
tcgetsid(3) - get session ID (Library - Linux man page).....
The function tcgetsid() returns the session ID of the current session that has the terminal associated to fd as controlling terminal. This terminal must be the
manpages/ccosh.3.html
ccosh(3) - complex hyperbolic cosine - Linux manual page....
The complex hyperbolic cosine function is defined as: ccosh(z) = (exp(z)+exp(-z))/2 VERSIONS These functions first appeared in glibc in version 2.1. CONFORMING
manpages/ModPerl::RegistryLoader.3pm.html
ModPerl::RegistryLoader(3pm) - Compile ModPerl::RegistryCook
This modules allows compilation of scripts, running under packages derived from ModPerl::RegistryCooker, at server startup. The scripts handler routine is compi
manpages/XCompositeReleaseOverlayWindow.3.html
XCompositeReleaseOverlayWindow(3) - X Composite Extension li
The composite extension provides several related mechanisms: Per-hierarchy storage The rendering of an entire hierarchy of windows is redirected to off-screen s
manpages/Tcl_QueryTimeProc.3.html
Tcl_QueryTimeProc(3) - get date and time - Linux man page...
The Tcl_GetTime function retrieves the current time as a Tcl_Time structure in memory the caller provides. This structure has the following definition: typedef
manpages/nm-system-settings.conf.5.html
nm-system-settings.conf(5) - Deprecated NetworkManager confi
nm-system-settings.conf is a deprecated configuration file for NetworkManager 411toppm(1). While this file can still be used, NetworkManager now defaults to rea
manpages/hunspell.3.html
hunspell(3) - spell checking, stemming, morphological genera
The Hunspell library routines give the user word-level linguistic functions: spell checking and correction, stemming, morphological generation and analysis in i
manpages/XcmsCIELabQueryMaxL.3.html
XcmsCIELabQueryMaxL(3) - obtain the CIE L*a*b* coordinates
The XcmsCIELabQueryMaxC function, given a hue angle and lightness, finds the point of maximum chroma displayable by the screen. It returns this point in CIE L*a
manpages/if.n.html
if(n) - Execute scripts conditionally - Linux manual page...
The if command evaluates expr1 as an expression (in the same way that expr evaluates its argument). The value of the expression must be a boolean (a numeric val
manpages/getservbyname_r.3.html
getservbyname_r(3) - get service entry (reentrant) (ManPage)
The getservent_r(), getservbyname_r(), and getservbyport_r() functions are the reentrant equivalents of, respectively, getservent(3), getservbyname(3), and gets
manpages/ooconvert.1.html
ooconvert(1) - Commandline Document Converter Using LibreOff
This tool converts documents between various formats on the commandline. It uses LibreOffice that guarantees the quality of available import and export filters.
manpages/XkbSetDeviceButtonActions.3.html
XkbSetDeviceButtonActions(3) - Change only the button action
XkbSetDeviceButtonActions assigns actions to the buttons of the device specified in device_info->device_spec. Actions are assigned to num_buttons buttons beginn
