[w]insstr

Insert a string at the current cursor position in the specified window. The insstr function acts on the stdscr window.

Format

#include  <curses.h>

int insstr  (char *str);

int winsstr  (WINDOW *win, char *str);

Arguments

win
A pointer to the window.
str
A pointer to the string to be inserted.

Description

Each character after the string shifts to the right, and the last character disappears. These functions are specific to DEC C for OpenVMS Systems and are not portable.

Return Values
OK  Indicates success. 
ERR  Indicates that the function makes the screen scroll illegally. For more information, see the scrollok function in this section. 


Previous Page | Next Page | Table of Contents | Index