]> ncurses.scripts.mit.edu Git - ncurses.git/blob - Ada95/html/man/curs_delch.3x.html
ncurses 4.2
[ncurses.git] / Ada95 / html / man / curs_delch.3x.html
1 <HTML>
2 <BODY>
3 <PRE>
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
6
7
8 </PRE>
9 <H2>SYNOPSIS</H2><PRE>
10        <STRONG>#include</STRONG> <STRONG><curses.h></STRONG>
11
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>
16
17
18 </PRE>
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-
26        ture.)
27
28
29 </PRE>
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.
34
35
36 </PRE>
37 <H2>NOTES</H2><PRE>
38        Note that <STRONG>delch</STRONG>, <STRONG>mvdelch</STRONG>, and <STRONG>mvwdelch</STRONG> may be macros.
39
40
41 </PRE>
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.
46
47
48 </PRE>
49 <H2>SEE ALSO</H2><PRE>
50        <STRONG><A HREF="ncurses.3x.html">curses(3X)</A></STRONG>
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68 </PRE>
69 </BODY>
70 </HTML>