addstr
SYNOPSIS
#include <ocurses.h>
int addstr(str)
char str;
NOTES
-
addstr writes a string of characters to stdscr.
-
addstr calls addch to write each character.
-
addstr follows the same translation rules as addch.
-
addstr returns COK on success and
ERR on error.
-
addstr is a macro.
EXAMPLE
Recall the sample program that prints the character string BullsEye.
See
``The purposes of initscr, refresh, and endwin in a program'',
``The relationship between stdscr and a terminal screen (sheet 1 of 2)'',
and
``The relationship between stdscr and a terminal screen (sheet 2 of 2)''.
Next topic:
printw
Previous topic:
addch
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004