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
20       position and the last character on the line is  filled  with  a  blank.
21       The  cursor  position  does not change (after moving to y, x, if speci‐
22       fied).  (This does not imply use of the hardware delete character  fea‐
23       ture.)
24

RETURN VALUE

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

NOTES

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

PORTABILITY

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

SEE ALSO

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