1curs_delch(3CURSES) Curses Library Functions curs_delch(3CURSES)
2
3
4
6 curs_delch, delch, wdelch, mvdelch, mvwdelch - delete character under
7 cursor in a curses window
8
10 cc [ flag ... ] file ... -lcurses [ library ... ]
11 #include <curses.h>
12
13 int delch(void);
14
15
16 int wdelch(WINDOW *win);
17
18
19 int mvdelch(int y, int x);
20
21
22 int mvwdelch(WINDOW *win, int y, int x);
23
24
26 With these routines the character under the cursor in the window is
27 deleted; all characters to the right of the cursor on the same line are
28 moved to the left one position and the last character on the line is
29 filled with a blank. The cursor position does not change (after moving
30 to y, x, if specified). This does not imply use of the hardware delete
31 character feature.
32
34 All routines return the integer ERR upon failure and an integer value
35 other than ERR upon successful completion.
36
38 See attributes(5) for descriptions of the following attributes:
39
40
41
42
43 ┌─────────────────────────────┬─────────────────────────────┐
44 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │MT-Level │Unsafe │
47 └─────────────────────────────┴─────────────────────────────┘
48
50 curses(3CURSES), attributes(5)
51
53 The header <curses.h> automatically includes the headers <stdio.h> and
54 <unctrl.h>.
55
56
57 Note that delch(), mvdelch(), and mvwdelch() may be macros.
58
59
60
61SunOS 5.11 31 Dec 1996 curs_delch(3CURSES)