HP-UX Reference (11i v1 05/09) - 3 Library Functions A-M (vol 6)
e
erasewchar(3X) erasewchar(3X)
(ENHANCED CURSES)
NAME
erasewchar, killwchar — terminal environment query functions
SYNOPSIS
#include <curses.h>
int erasewchar(wchar_t *ch);
int killwchar(wchar_t *ch);
DESCRIPTION
The erasewchar() function stores the current erase character in the object pointed to by ch. If no erase
character has been defined, the function will fail and the object pointed to by ch will not be changed.
The
killwchar() function stores the current line kill character in the object pointed to by ch. If no line
kill character has been defined, the function will fail and the object pointed to by ch will not be changed.
RETURN VALUE
Upon successful completion,
erasewchar() and killwchar() return OK. Otherwise, they return
ERR.
ERRORS
No errors are defined.
SEE ALSO
Attributes in curses_intro(3X), clearok(3X), delscreen(3X), <curses.h>, tcattribute(3C) (in the X/Open Sys-
tem Interfaces and Headers, Issue 4, Version 2 specification).
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
HP-UX 11i Version 1: September 2005 − 1 − Hewlett-Packard Company Section 3−−231