4 <STRONG>delch</STRONG>, <STRONG>wdelch</STRONG>, <STRONG>mvdelch</STRONG>, <STRONG>mvwdelch</STRONG> - delete character under
5 the cursor in a <STRONG>curses</STRONG> window
10 <STRONG>#include</STRONG> <STRONG><curses.h></STRONG>
12 <STRONG>int</STRONG> <STRONG>delch(void);</STRONG>
13 <STRONG>int</STRONG> <STRONG>wdelch(WINDOW</STRONG> <STRONG>*win);</STRONG>
14 <STRONG>int</STRONG> <STRONG>mvdelch(int</STRONG> <STRONG>y,</STRONG> <STRONG>int</STRONG> <STRONG>x);</STRONG>
15 <STRONG>int</STRONG> <STRONG>mvwdelch(WINDOW</STRONG> <STRONG>*win,</STRONG> <STRONG>int</STRONG> <STRONG>y,</STRONG> <STRONG>int</STRONG> <STRONG>x);</STRONG>
19 <H2>DESCRIPTION</H2><PRE>
20 These routines delete the character under the cursor; all
21 characters to the right of the cursor on the same line are
22 moved to the left one position and the last character on
23 the line is filled with a blank. The cursor position does
24 not change (after moving to <EM>y</EM>, <EM>x</EM>, if specified). (This
25 does not imply use of the hardware delete character fea-
30 <H2>RETURN VALUE</H2><PRE>
31 All routines return the integer <STRONG>ERR</STRONG> upon failure and an <STRONG>OK</STRONG>
32 (SVr4 specifies only "an integer value other than <STRONG>ERR</STRONG>")
33 upon successful completion.
38 Note that <STRONG>delch</STRONG>, <STRONG>mvdelch</STRONG>, and <STRONG>mvwdelch</STRONG> may be macros.
42 <H2>PORTABILITY</H2><PRE>
43 These functions are described in the XSI Curses standard,
44 Issue 4. The standard specifies that they return <STRONG>ERR</STRONG> on
45 failure, but specifies no error conditions.
49 <H2>SEE ALSO</H2><PRE>
50 <STRONG><A HREF="ncurses.3x.html">curses(3X)</A></STRONG>