DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

putws(S)


putws -- put a wide line onto standard output

Synopsis

cc [flag ... ] file ... -lw [library] ...
   #include <stdio.h>
   #include <wchar.h>
   

int putws(const wchar_t *s);

Description

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.

This function does not write the terminating wchar_t NULL character.

Errors

On success, this function returns the number of wchar_t characters transformed and written (not including the newline character). Otherwise it returns EOF.

References

ferror(S), fopen(S), fprintf(S), fputws(S), fread(S), intro(S), Intro(S), putwc(S), widec(S)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005