getwchar - read a wide character from standard input


   #include <wchar.h>

   wint_t getwchar(void);


   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).


   The  getwchar()  function returns the next wide-character from standard
   input, or WEOF.


   For  an  explanation  of  the  terms  used   in   this   section,   see

   Interface   Attribute      Value   
   getwchar()  Thread safety  MT-Safe 


   POSIX.1-2001, POSIX.1-2008, C99.


   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


   fgetwc(3), unlocked_stdio(3)


   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

More Linux Commands

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

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

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

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

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

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

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

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

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

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

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.

XkbSetDeviceButtonActions(3) - Change only the button action
XkbSetDeviceButtonActions assigns actions to the buttons of the device specified in device_info-&gt;device_spec. Actions are assigned to num_buttons buttons beginn

We can't live, work or learn in freedom unless the software we use is free.