Output
The routines that low-level ETI provides for writing to stdscr
are similar to those provided by the
Intro(3S)
library
for writing to a file.
They let you
-
write a character at a time -- addch
-
write a string -- addstr
-
format a string from a variety of input arguments -- printw
-
move a cursor or move a cursor and print character(s) --
move, mvaddch, mvaddstr, mvprintw
-
clear a screen or a part of it -- clear, erase,
clrtoeol, clrtobot
Following are descriptions and examples of these routines.
CAUTION:
The ETI library provides its own set of output and input functions.
You should not use other I/O routines or system calls,
like
fprintf(3S)
and
fscanf(3S),
in an ETI program.
They may cause undesirable results when you run the program.
Next topic:
addch
Previous topic:
Simple input and output
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004