Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

add_wch(3XC)

addch(3XC)

newpad(3XC)

pechochar(3XC)

NAME

pechochar, pecho_wchar − add character and refresh window

SYNOPSIS

#include <curses.h>

int pechochar(WINDOW ∗pad, chtype ch);

int pecho_wchar(WINDOW ∗pad, const chtype ∗wch);

ARGUMENTS

padIs a pointer to the pad in which the character is to be added. 

chIs a pointer to the character to be written to the pad. 

wchIs a pointer to the complex character to be written to the pad. 

DESCRIPTION

The pechochar() function is equivalent to calling waddch(3XC) followed by a call to prefresh(3XC).  The pecho_wchar() function is equivalent to calling wadd_wch(3XC) followed by a call to prefresh().  prefresh() reuses the last position of the pad on the screen for its parameters. 

RETURN VALUES

On success, these functions return OK.  Otherwise, they return ERR. 

ERRORS

None. 

SEE ALSO

add_wch(3XC), addch(3XC), newpad(3XC)

SunOS 5.6  —  Last change: 1 Jun 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026