opensolaris man page for putws

Query: putws

OS: opensolaris

Section: 3c

Links: opensolaris man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

putws(3C)						   Standard C Library Functions 						 putws(3C)

NAME
putws - convert a string of Process Code characters to EUC characters
SYNOPSIS
#include <stdio.h> #include <widec.h> int putws(wchar_t *s);
DESCRIPTION
The putws() function converts the Process Code string (terminated by a (wchar_t)NULL) pointed to by s, to an Extended Unix Code (EUC) string followed by a NEWLINE character, and writes it to the standard output stream stdout. It does not write the terminal null character.
RETURN VALUES
The putws() function returns the number of Process Code characters transformed and written. It returns EOF if it attempts to write to a file that has not been opened for writing.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------------------------------------+ |ATTRIBUTE TYPE ATTRIBUTE VALUE | |MT-Level MT-Safe | +-----------------------------------------------------------+
SEE ALSO
ferror(3C), fopen(3C), fread(3C), getws(3C), printf(3C), putwc(3C), attributes(5) SunOS 5.11 22 Apr 1997 putws(3C)
Related Man Pages
wscasecmp(3c) - opensolaris
wscol(3c) - opensolaris
wsncasecmp(3c) - opensolaris
wsdup(3c) - sunos
putws(3c) - centos
Similar Topics in the Unix Linux Community
Bad Mortgage Calculation Code
help with SED + GREP
Remove string between number and character
Convert a numeric to 2 decimal point value
Process only 4 digit odd number starting with zero