fputwc, putwc - write a wide character to a FILE stream


   #include <stdio.h>
   #include <wchar.h>

   wint_t fputwc(wchar_t wc, FILE *stream);
   wint_t putwc(wchar_t wc, FILE *stream);


   The  fputwc() function is the wide-character equivalent of the fputc(3)
   function.   It  writes  the  wide   character   wc   to   stream.    If
   ferror(stream)  becomes  true,  it  returns  WEOF.  If a wide-character
   conversion error occurs, it sets errno  to  EILSEQ  and  returns  WEOF.
   Otherwise, it returns wc.

   The  putwc()  function  or macro functions identically to fputwc().  It
   may be implemented as a macro, and may evaluate its argument more  than
   once.  There is no reason ever to use it.

   For nonlocking counterparts, see unlocked_stdio(3).


   The  fputwc()  function  returns  wc  if  no error occurred, or WEOF to
   indicate an error.  In the event of an error, errno is set to  indicate
   the cause.


   Apart from the usual ones, there is

   EILSEQ Conversion of wc to the stream's encoding fails.


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

   Interface          Attribute      Value   
   fputwc(), putwc()  Thread safety  MT-Safe 


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


   The behavior of fputwc()  depends  on  the  LC_CTYPE  category  of  the
   current locale.

   In  the  absence of additional information passed to the fopen(3) call,
   it is reasonable to  expect  that  fputwc()  will  actually  write  the
   multibyte sequence corresponding to the wide character wc.


   fgetwc(3), fputws(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

ethers(5) - Ethernet address to IP number database (ManPage)
/etc/ethers contains 48 bit Ethernet addresses and their corresponding IP numbers, one line for each IP number: Ethernet-address IP-number The two items are sep

Tcl_CreateCommand(3) - implement new commands in C (ManPage)
Tcl_CreateCommand defines a new command in interp and associates it with procedure proc such that whenever cmdName is invoked as a Tcl command (via a call to Tc

svnserve.conf(5) - Repository configuration file for svnserv
svnserve.conf controls the behavior of the svnserve daemon on a per-repository basis. It is located in the conf subdirectory of the repository. The overall stru

coroutine(n) Create and produce values from coroutines......
The coroutine command creates a new coroutine context (with associated command) named name and executes that context by calling command, passing in the other re

git-sh-i18n--envsubst(1) - Gits own envsubst(1) for i18n fal
This is not a command the end user would want to run. Ever. This documentation is meant for people who are studying the plumbing scripts and/or are writing new

glGetTexGenfv(3gl) - return texture coordinate generation pa
glGetTexGen returns in params selected parameters of a texture coordinate generation function that was specified using glTexGen. coord names one of the (s, t, r

wbkgrndset(3ncurses) - curses window complex background mani
The bkgrndset and wbkgrndset routines manipulate the background of the named window. The window background is a cchar_t consisting of any combination of attribu

fstab(5) - static information about the filesystems.........
The file fstab contains descriptive information about the various file systems. fstab is only read by programs, and not written; it is the duty of the system ad

gnutls_x509_crl_privkey_sign(3) - API function (Man Page)...
gnutls_x509_crl_privkey_sign.3 - This function will sign the CRL with the issuers private key, and will copy the issuers information into the CRL. This must be

ip-rule(8) routing policy database management (Man Page)....
ip rule manipulates rules in the routing policy database control the route selection algorithm. Classic routing algorithms used in the Internet make routing dec

Tcl_ParseBraces(3) - parse Tcl scripts and expressions......
These procedures parse Tcl commands or portions of Tcl commands such as expressions or references to variables. Each procedure takes a pointer to a script (or p

XSetFillRule(3) - GC convenience routines - Linux man page
The XSetFillStyle function sets the fill-style in the specified GC. XSetFillStyle can generate BadAlloc, BadGC, and BadValue errors. The XSetFillRule function s

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