erasewchar.3x (2010 09)
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.Ifno
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.Ifno
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
System Interfaces and Headers, Issue 4, Version 2 specification).
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1