The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

echochar, wechochar - echo single-byte character and rendition to a window and refresh

 SYNOPSIS



#include <curses.h>

int echochar(const chtype ch);

int wechochar(WINDOW *win, const chtype ch);

 DESCRIPTION

The echochar() function is equivalent to a call to addch() followed by a call to refresh().

The wechochar() function is equivalent to a call to waddch() followed by a call to wrefresh().

 RETURN VALUE

Upon successful completion, these functions return OK. Otherwise they return ERR.

 ERRORS

No errors are defined.

 APPLICATION USAGE

These 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.

 SEE ALSO

addch(), doupdate(), echo_wchar(), <curses.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]