1curs_delch(3X)                                                  curs_delch(3X)
2
3
4

NAME

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

SYNOPSIS

10       #include <curses.h>
11
12       int delch(void);
13       int wdelch(WINDOW *win);
14       int mvdelch(int y, int x);
15       int mvwdelch(WINDOW *win, int y, int x);
16

DESCRIPTION

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

RETURN VALUE

25       All routines return the integer ERR upon failure and an OK (SVr4 speci‐
26       fies  only  "an  integer value other than ERR") upon successful comple‐
27       tion.
28
29       Functions with a “mv” prefix first  perform  a  cursor  movement  using
30       wmove, and return an error if the position is outside the window, or if
31       the window pointer is null.
32

NOTES

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

PORTABILITY

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

SEE ALSO

42       curses(3X)
43
44
45
46                                                                curs_delch(3X)
Impressum