erasechar, killchar — single-byte terminal environment query functions
function returns the current erase character.
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.
function returns the current line kill character.
function returns the erase character and
returns the line kill character. The return value is unspecified when these
characters are multi-byte characters.
No errors are defined.
functions are only guaranteed to operate reliably on character sets in
which each character fits into a single byte, whose attributes can be
expressed using only constants with the A_ prefix.
Moreover, they do not reliably indicate cases in which when the erase or line
kill character, respectively, has not been defined. The
functions overcome these limitations.
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
function is merged with this entry.
In previous issues, it appeared in an entry of its own.
The entry is rewritten for clarity.
The argument list for the
functions is explicitly declared as void.