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

  man pages->IRIX man pages -> putws (3s)              
Title
Content
Arch
Section
 

Contents


putws(3S)							     putws(3S)


NAME    [Toc]    [Back]

     putws, fputws  - put a wchar_t string on a	stream

SYNOPSIS    [Toc]    [Back]

     #include <stdio.h>
     #include <widec.h>

     int putws(const wchar_t *s<b>);
     int fputws(const wchar_t *s<b>, FILE *stream<b>);

DESCRIPTION (International Functions)    [Toc]    [Back]

     putws transforms the wchar_t null-terminated wchar_t string pointed to by
     s into a byte string in EUC, and writes the string	followed by a newline
     character to stdout.

     fputws transforms the wchar_t null-terminated wchar_t string pointed to
     by	s into a byte string in	EUC, and writes	the string to the named	output
     stream.

     Neither function writes the terminating wchar_t null character.

SEE ALSO    [Toc]    [Back]

      
      
     ferror(3S), fopen(3S), fread(3S), printf(3S), stdio(3S), putwc(3S),
     widec(3S).

DIAGNOSTICS    [Toc]    [Back]

     On	success, both functions	return the number of wchar_t characters
     transformed and written (not including the	newline	character in the case
     of	putws).	 Otherwise they	return EOF.

NOTES    [Toc]    [Back]

     putws appends a newline character while fputws does not.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
XmCvtByteStreamToXmString HP-UX A compound string function that converts from a compound string in Byte Stream format to a compound string
XmCvtXmStringToByteStream HP-UX A compound string function that converts a compound string to a Byte Stream format
gets IRIX get a string from a stream
gets Tru64 Get a string from a stream
getws IRIX get a wchar_t string from a stream
fgets Tru64 Get a string from a stream
puts IRIX put a string on a stream
fgetws Tru64 Get a string from a stream
puts Tru64 Writes a string to a stream
fputs Tru64 Writes a string to a stream
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service