Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ putwc(3W) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fclose(3S)

ferror(3S)

fopen(3S)

fread(3S)

printf(3S)

setbuf(3S)

stdio(3S)

mbchar(3W)

printf(3W)

putws(3W)

widec(3W)

putwc(3W)                      27 Jan 1992                        putwc(3W)

NAME
     putwc, putwchar, fputwc - put wchart character on a stream

SYNOPSIS
     #include <stdio.h>
     #include <widec.h>
     int putwc(wchart c, FILE *stream);
     int putwchar(wchart c);
     int fputwc(wchart c, FILE *stream);

DESCRIPTION (International Functions)
     putwc() transforms the wchart character c into EUC, and writes it
     onto the output stream (at the position where the file pointer, if
     defined, is pointing). The putwchar(c) is defined as putwc(c, stdout).
     putwc() and putwchar() are macros.

     fputwc() behaves like putwc(), but is a function rather than a macro.

DIAGNOSTICS
     On success, each of these functions return the value they have writ-
     ten. On failure, they return the constant EOF.

NOTES
     These functions can support either typedef unsigned short wchart or
     typedef long wchart conditionally, see mbchar(3W).

SEE ALSO
     fclose(3S), ferror(3S), fopen(3S), fread(3S), printf(3S), setbuf(3S),
     stdio(3S), mbchar(3W), printf(3W), putws(3W), widec(3W).


























Page 1                       Reliant UNIX 5.44                      1, 1927

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