DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

curs_delch(S-osr5)


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-osr5), mvdelch(S-osr5), and mvwdelch(S-osr5).

Files


/usr/lib/libcurses.a
the library

See also

curses(S-osr5)

Standards conformance

delch(S-osr5), wdelch(S-osr5), mvdelch(S-osr5), and mvwdelch(S-osr5) are not part of any currently supported standard; they were developed by UNIX System Laboratories, Inc. and are maintained by The SCO Group.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005