HPlogo HP-UX Reference Volume 4 of 5 > e

erasewchar(3X)

ENHANCED CURSES
» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

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 System Interfaces and Headers, Issue 4, Version 2 specification).

CHANGE HISTORY

First released in X/Open Curses, Issue 4.

© Hewlett-Packard Development Company, L.P.