Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ putws(3S) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ferror(3S)

fopen(3S)

fread(3S)

getws(3S)

printf(3S)

putwc(3S)

attributes(5)

putws(3S)

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(3S), fopen(3S), fread(3S), getws(3S), printf(3S), putwc(3S), attributes(5)

SunOS 5.6  —  Last change: 22 Apr 1997

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026