mv[w]insstr

Move the cursor to coordinates (y,x) and insert the specified string into the specified window. The mvinsstr function acts on the stdscr window.

Format

#include  <curses.h>

int mvinsstr  (int y, int x, char *str);

int mvwinsstr  (WINDOW *win, int y, int
               x, char *str);

Arguments

win
A pointer to the window.
y
A window coordinate.
x
A window coordinate.
str
The string that is displayed.

Description

Each character after the string shifts to the right, and the last character disappears. The mvinsstr and mvwinsstr 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