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
puts (String str) yoix.stdio
 
Copies characters from str, up to but not including the first null, to standard output, appends a newline character, and returns the number of characters written or -1 if there was an error.
 
 Example:   The simple program,
import yoix.stdio.*;

String  line[100, ...];

while (gets(line) != NULL)
    puts(line);
copies lines from standard input to standard output, and stops at the end-of-stream.
 
 Return:   int
 
 See Also:   fgets, fprintf, fputs, gets

 

Yoix is a registered trademark of AT&T Inc.