.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_delch.3x,v 1.35 2024/05/11 20:39:53 tom Exp $
-.TH curs_delch 3X 2024-05-11 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_delch.3x,v 1.39 2024/09/21 23:43:41 tom Exp $
+.TH curs_delch 3X 2024-09-21 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
\fB#include <curses.h>
.PP
\fBint delch(void);
-\fBint wdelch(WINDOW *\fIwin\fP);
+\fBint wdelch(WINDOW * \fIwin\fP);
\fBint mvdelch(int \fIy\fP, int \fIx\fP);
-\fBint mvwdelch(WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP);
+\fBint mvwdelch(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP);
.fi
.SH DESCRIPTION
.B \%wdelch
.IR win .
It moves all characters to the right of the cursor on the same line to
the left one position and replaces the contents of the rightmost
-position on the line with the window's blank character;
+position on the line with the window's background character;
see \fB\%bkgd\fP(3X)
(wide-character API users: \fB\%bkgrnd\fP(3X)).
The cursor position does not change
.B ERR
on failure.
.PP
-Functions taking a
-.I \%WINDOW
-pointer argument fail if the pointer is
-.BR NULL .
+In
+.IR \%ncurses ,
+they return
+.B ERR
+if
+.I win
+is
+.BR NULL "."
.PP
Functions prefixed with \*(``mv\*('' first perform cursor movement and
fail if the position
describes a successful return value only as
\*(``an integer value other than
.BR ERR \*(''.
+.SH HISTORY
+SVr2 (1984) introduced
+.IR \%delch "."
.SH SEE ALSO
\fB\%curses\fP(3X)