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, clearok(), delscreen(), <curses.h>, tcgetattr() (in the X/Open System Interfaces and Headers, Issue 4, Version 2 specification).
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
Hewlett-Packard Company — HP-UX Release 10.20: July 1996