Terminal environment query functions.
Curses Library (libcurses.a)
#include <curses.h>
char killchar(void);
int killwchar(wchar_t *ch);
The killchar subroutine returns the current line.
The killchar subroutine stores the current line kill character in the object pointed to by ch. If no line kill character has been defined, the subroutine will fail and the object pointed to by ch will not be changed.
*ch
The killchar subroutine returns the line kill character. The return value is unspecified when this character is a multi-byte character.
Upon successful completion, the killchar subroutine returns OK. Otherwise, it returns ERR.