AT&T Home | AT&T Labs | Research
AT&T Labs, Inc. - Research

The Yoix® Scripting Language

Home | What's New | Grammar | Documentation | Download | License | YChart | YDAT | YWAIT | Byzgraf | FAQs
putchar (int ch) yoix.stdio
 
Writes the character represented by integer ch to standard output, and returns that character, or -1 if an error occurred.
 
 Example:   The program,
import yoix.stdio.*;

int  ch;

while ((ch = getchar()) != -1)
    putchar(ch);
copies standard input to standard output one character at a time, so it is very slow.
 
 Return:   int
 
 See Also:   getc, getchar, putc, ungetc

 

Yoix is a registered trademark of AT&T Inc.