]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/curs_delch.3x
ncurses 6.5 - patch 20240922
[ncurses.git] / man / curs_delch.3x
index 9692158724c401a7f9092c0dd85950f915dd46b9..df6ff230a17a2e892fc317d164c1d9d874db8d64 100644 (file)
@@ -27,8 +27,8 @@
 .\" 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
@@ -50,9 +50,9 @@ delete a character from a \fIcurses\fR window
 \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
@@ -60,7 +60,7 @@ deletes the character at the cursor position in
 .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
@@ -76,10 +76,14 @@ on success and
 .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
@@ -108,5 +112,8 @@ SVr4
 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)