HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

echochar wechochar

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The echochar and wechochar routines are used to add a character and refresh the window.

Syntax

   #include <curses.h>



   int echochar(chtype ch);

   int wechochar(WINDOW *win, chtype ch);

Parameters

win

A pointer to the window in which the character is to be added.

ch

A pointer to the character to be written to the window.

Return Values

OK

Successful completion.

ERR

An error occurred.

Description

The echochar() and wechochar() routines produce the same effect as a call to addch() followed by a call to refresh(), or a call to waddch() followed by a call to wrefresh(), respectively.

Implementation Considerations

UNIX System V implementation

See Also

waddch(), wrefresh()

Portability

UNIX System V

Feedback to webmaster