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);
1 – Arguments
win A pointer to the window. y A window coordinate. x A window coordinate. str The string that is displayed.
2 – Description
Each character after the string shifts to the right, and the last character disappears. The mvinsstr and mvwinsstr functions are specific to VSI C for OpenVMS Systems and are not portable.
3 – Return Values
OK Indicates success. ERR Indicates that the function makes the screen scroll illegally. For more information, see the scrollok function.