summaryrefslogtreecommitdiffstats
path: root/ncurses-5.2/doc/html/man/curs_delch.3x.html
blob: 8d37648079e6ee9c18884da76cf9489cea942f3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<HTML>
<BODY>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->

</PRE>
<H2>NAME</H2><PRE>
       <B>delch</B>,  <B>wdelch</B>, <B>mvdelch</B>, <B>mvwdelch</B> - delete character under
       the cursor in a <B>curses</B> window


</PRE>
<H2>SYNOPSIS</H2><PRE>
       <B>#include</B> <B>&lt;curses.h&gt;</B>

       <B>int</B> <B>delch(void);</B>
       <B>int</B> <B>wdelch(WINDOW</B> <B>*win);</B>
       <B>int</B> <B>mvdelch(int</B> <B>y,</B> <B>int</B> <B>x);</B>
       <B>int</B> <B>mvwdelch(WINDOW</B> <B>*win,</B> <B>int</B> <B>y,</B> <B>int</B> <B>x);</B>


</PRE>
<H2>DESCRIPTION</H2><PRE>
       These routines delete the character under the cursor;  all
       characters to the right of the cursor on the same line are
       moved to the left one position and the last  character  on
       the line is filled with a blank.  The cursor position does
       not change (after moving to <I>y</I>, <I>x</I>,  if  specified).   (This
       does  not  imply use of the hardware delete character fea-
       ture.)


</PRE>
<H2>RETURN VALUE</H2><PRE>
       All routines return the integer <B>ERR</B> upon failure and an <B>OK</B>
       (SVr4  specifies  only  "an integer value other than <B>ERR</B>")
       upon successful completion.


</PRE>
<H2>NOTES</H2><PRE>
       Note that <B>delch</B>, <B>mvdelch</B>, and <B>mvwdelch</B> may be macros.


</PRE>
<H2>PORTABILITY</H2><PRE>
       These functions are described in the XSI Curses  standard,
       Issue  4.   The standard specifies that they return <B>ERR</B> on
       failure, but specifies no error conditions.


</PRE>
<H2>SEE ALSO</H2><PRE>
       <B><A HREF="ncurses.3x.html">curses(3x)</A></B>


















</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>