Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > E

echochar(3X)

ENHANCED CURSES
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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(3X), doupdate(3X), echo_wchar(3X), <curses.h>.

CHANGE HISTORY

First released in X/Open Curses, Issue 4.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.