VMS Help  —  CRTL  [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);

1  –  Arguments

 win

    A pointer to the window.

 str

    A pointer to the string to be inserted.

2  –  Description

    Each character after the string shifts to the right, and the last
    character disappears. These functions are specific to Compaq 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.
Close Help