*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> fputws (3)              



NAME    [Toc]    [Back]

       fputws - write a wide character string to a FILE stream

SYNOPSIS    [Toc]    [Back]

       #include <wchar.h>

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

DESCRIPTION    [Toc]    [Back]

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

RETURN VALUE    [Toc]    [Back]

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

CONFORMING TO    [Toc]    [Back]

       ISO/ANSI C, UNIX98

SEE ALSO    [Toc]    [Back]


NOTES    [Toc]    [Back]

       The behaviour of fputws depends on the LC_CTYPE category of the current

       In  the	absence of additional information passed to the fopen call, it
       is reasonable to expect that fputws will actually write	the  multibyte
       string corresponding to the wide character string ws.

GNU				  1999-07-25			     FPUTWS(3)
[ Back ]
 Similar pages
Name OS Title
fputws Tru64 Write a wide-character string to a stream
fputwc Linux write a wide character to a FILE stream
fgetws Linux read a wide character string from a FILE stream
putwc Tru64 Write a wide character to a stream
fputwc Tru64 Write a wide character to a stream
putwchar Tru64 Write a wide character to a stream
fgetwc Linux read a wide character from a FILE stream
ungetwc Linux push back a wide character onto a FILE stream
mbsrtowcs NetBSD converts a multibyte character string to a wide character string (restartable)
wcsrtombs NetBSD converts a wide character string to a multibyte character string (restartable)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service