HP 3000 Manuals

delch, wdelch, mvdelch, mvwdelch [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

delch, wdelch, mvdelch, mvwdelch 

The delch set of routines is used to remove a character.

Syntax 

     #include <curses.h>

     int delch();
     int wdelch(WINDOW *win);

     int mvdelch(int y, int x);
     int mvwdelch(WINDOW *win, int y, int x);

Parameters 

x                     The x (column) coordinate of the position of the
                      character to be removed.

y                     The y (row) coordinate of the position of the
                      character to be removed.

win                   A pointer to the window containing the character to
                      be removed.

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The delch() and wdelch() routines delete the character at the current
cursor position from stdscr and win, respectively.  All remaining
characters on the same line to the right of the deleted character are
moved left one character.  The last character on the line becomes a
space; characters on other lines are not affected.

The mvdelch() and mvwdelch() routines delete the character at the
position specified by the x and y parameters; the former deletes the
character from stdscr; the latter from win.


NOTE The delch(), mvdelch(), and mvwdelch() routines are macros.
Implementation Considerations Identical to XPG/3 See Also wbgdset() Portability HP-UX, UNIX System V, XPG/3


MPE/iX 5.0 Documentation