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_tNULL 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.