VMS Help
CRTL, [w]addstr
*Conan The Librarian
|
Add the string pointed to by str to the window at the current
position of the cursor.
Format
#include <curses.h>
int addstr (char *str);
int waddstr (WINDOW *win, char *str);
win
A pointer to the window.
str
A pointer to a character string.
When the waddstr function is used on a subwindow, the string is
written onto the underlying window as well.
The addstr routine performs the same function as waddstr, but on
the stdscr window.
The cursor position changes as a result of calling this routine.
OK Indicates success.
ERR Indicates that the function causes the screen
to scroll illegally, but it places as much of
the string onto the window as possible. For
more information, see the scrollok function.