fputws(3)


NAME

   fputws - write a wide-character string to a FILE stream

SYNOPSIS

   #include <wchar.h>

   int fputws(const wchar_t *ws, FILE *stream);

DESCRIPTION

   The  fputws() function is the wide-character equivalent of the fputs(3)
   function.  It writes the wide-character string starting at  ws,  up  to
   but  not  including  the  terminating  null  wide character (L'\0'), to
   stream.

   For a nonlocking counterpart, see unlocked_stdio(3).

RETURN VALUE

   The fputws() function returns a nonnegative integer  if  the  operation
   was successful, or -1 to indicate an error.

ATTRIBUTES

   For   an   explanation   of   the  terms  used  in  this  section,  see
   attributes(7).

   
   Interface  Attribute      Value   
   
   fputws()   Thread safety  MT-Safe 
   

CONFORMING TO

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

NOTES

   The behavior of fputws()  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  fputws()  will  actually  write  the
   multibyte string corresponding to the wide-character string ws.

SEE ALSO

   fputwc(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/log.3.html
log(3) - natural logarithmic function - Linux manual page...
The log() function returns the natural logarithm of x. RETURN VALUE On success, these functions return the natural logarithm of x. If x is a NaN, a NaN is retur

manpages/munlock.2.html
munlock(2) - lock and unlock memory - Linux manual page.....
mlock() and mlockall() respectively lock part or all of the calling processs virtual address space into RAM, preventing that memory from being paged to the swap

manpages/ctl_deliver.8.html
ctl_deliver(8) - perform operations on the duplicate deliver
Ctl_deliver is used to perform various administrative operations on the duplicate delivery database. Ctl_deliver reads its configuration options out of the imap

manpages/Tk_AllocColorFromObj.3.html
Tk_AllocColorFromObj(3) - maintain database of colors.......
These procedures manage the colors being used by a Tk application. They allow colors to be shared whenever possible, so that colormap space is preserved, and th

manpages/Module::Build::Platform::Unix.3pm.html
Module::Build::Platform::Unix(3pm) - Builder class for Unix
Module::Build::Platform::Unix.3pm - The sole purpose of this module is to inherit from Module::Build::Base. Please see the Module::Build for the docs. AUTHOR Ke

manpages/XpGetLocaleHinter.3x.html
XpGetLocaleHinter(3x) - Gets a pointer to and description of
XpGetLocaleHinter returns the currently installed hinter proc and hinter description. The function value is the pointer to the description. The caller is expect

manpages/array.n.html
array(n) - Manipulate array variables - Linux manual page...
This command performs one of several operations on the variable given by arrayName. Unless otherwise specified for individual commands below, arrayName must be

manpages/sane-kodakaio.5.html
sane-kodakaio(5) SANE backend for Kodak aio printer scanners
The sane-kodakaio library implements a SANE (Scanner Access Now Easy) backend which provides access to Kodak aio printer / scanners, like the ESP and Hero serie

manpages/cexp2.3.html
cexp2(3) - base-2 exponent of a complex number (Man Page)...
The function returns 2 raised to the power of z. CONFORMING TO These function names are reserved for future use in C99. AVAILABILITY Not yet in glibc, as at ver

manpages/glColor3f.3gl.html
glColor3f(3gl) - set the current color - Linux manual page
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major va

manpages/TIFFReadRGBAImage.3tiff.html
TIFFReadRGBAImage(3tiff) - read and decode an image into a f
TIFFReadRGBAImage reads a strip- or tile-based image into memory, storing the result in the user supplied raster. The raster is assumed to be an array of width

manpages/Tcl_AttemptRealloc.3.html
Tcl_AttemptRealloc(3) - allocate or free heap memory........
These procedures provide a platform and compiler independent interface for memory allocation. Programs that need to transfer ownership of memory blocks between





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