1delch(3XCURSES) X/Open Curses Library Functions delch(3XCURSES)
2
3
4
6 delch, mvdelch, mvwdelch, wdelch - remove a character
7
9 cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib \
10 -R /usr/xpg4/lib -lcurses [ library... ]
11
12 c89 [ flag... ] file... -lcurses [ library... ]
13
14 #include <curses.h>
15
16 int delch(void);
17
18
19 int mvdelch(int y, int x);
20
21
22 int mvwdelch(WINDOW *win, int y, int x);
23
24
25 int wdelch(WINDOW *win);
26
27
29 The delch() and wdelch() functions delete the character at the current
30 cursor position from stdscr and win, respectively. All remaining char‐
31 acters after cursor through to the end of the line are shifted one
32 character towards the start of the line. The last character on the line
33 becomes a space; characters on other lines are not affected.
34
35
36 The mvdelch() and mvwdelch() functions delete the character at the
37 position specified by the x and y parameters; the former deletes the
38 character from stdscr; the latter from win.
39
41 y Is the y (row) coordinate of the position of the character to
42 be removed.
43
44
45 x Is the x (column) coordinate of the position of the character
46 to be removed.
47
48
49 win Is a pointer to the window containing the character to be
50 removed.
51
52
54 On success, these functions return OK. Otherwise, they return ERR.
55
57 None.
58
60 See attributes(5) for descriptions of the following attributes:
61
62
63
64
65 ┌─────────────────────────────┬─────────────────────────────┐
66 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
67 ├─────────────────────────────┼─────────────────────────────┤
68 │Interface Stability │Standard │
69 ├─────────────────────────────┼─────────────────────────────┤
70 │MT-Level │Unsafe │
71 └─────────────────────────────┴─────────────────────────────┘
72
74 bkgdset(3XCURSES), insch(3XCURSES), libcurses(3XCURSES), attributes(5),
75 standards(5)
76
77
78
79SunOS 5.11 5 Jun 2002 delch(3XCURSES)