putws(3wide)


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(3S), fopen(3S), fprintf(3S), fputws(3C), fread(3S), intro(3), Intro(3S), putwc(3S), widec(3S)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004