DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

curs_delch(S)


curs_delch: delch, wdelch, mvdelch, mvwdelch -- delete character under cursor in a curses window

Syntax

cc ... -lcurses

#include <curses.h>

int delch(void); int wdelch(WINDOW *win); int mvdelch(int y, int x); int mvwdelch(WINDOW *win, int y, int x);

Description

These routines delete the character at the cursor in the window; all characters to the right of the cursor on the same line are moved one position to the left and the last character on the line is filled with a blank. The cursor position does not change (after moving to y, x, if specified). (This does not imply use of the hardware delete character feature.)

Return values

All routines return the integer ERR on failure and an integer value other than ERR on successful completion.

Warning

The header file curses.h automatically includes the header files stdio.h and unctrl.h.

The following can be macros: delch(S), mvdelch(S), and mvwdelch(S).

Files


/usr/lib/libcurses.a
the library

See also

curses(S)

Standards conformance

delch(S), wdelch(S), mvdelch(S), and mvwdelch(S) are not part of any currently supported standard; they were developed by UNIX System Laboratories, Inc. and are maintained by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003