curs_delch(3x) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | NOTES | PORTABILITY | SEE ALSO | COLOPHON

curs_delch(3X)                                            curs_delch(3X)

NAME         top

       delch, wdelch, mvdelch, mvwdelch - delete character under the
       cursor in a curses window

SYNOPSIS         top

       #include <curses.h>

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

DESCRIPTION         top

       These routines delete the character under the cursor; all
       characters to the right of the cursor on the same line are moved
       to the left one position and the last character on the line is
       filled with a blank.  The cursor position does not change (after
       moving to y, x, if specified).  (This does not imply use of the
       hardware delete character feature.)

RETURN VALUE         top

       All routines return the integer ERR upon failure and an OK (SVr4
       specifies only "an integer value other than ERR") upon successful
       completion.

       Functions with a “mv” prefix first perform a cursor movement
       using wmove, and return an error if the position is outside the
       window, or if the window pointer is null.

NOTES         top

       Note that delch, mvdelch, and mvwdelch may be macros.

PORTABILITY         top

       These functions are described in the XSI Curses standard, Issue
       4.  The standard specifies that they return ERR on failure, but
       specifies no error conditions.

SEE ALSO         top

       curses(3X)

COLOPHON         top

       This page is part of the ncurses (new curses) project.
       Information about the project can be found at 
       ⟨https://www.gnu.org/software/ncurses/ncurses.html⟩.  If you have
       a bug report for this manual page, send it to
       bug-ncurses-request@gnu.org.  This page was obtained from the
       project's upstream Git mirror of the CVS repository
       ⟨https://github.com/mirror/ncurses.git⟩ on 2023-12-22.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2023-03-12.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

                                                          curs_delch(3X)