Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
X/Open Curses Library Functionspechochar(3XCURSES)


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);

PARAMETERS

 
pad
Is a pointer to the pad in which the character is to be added.
ch
Is a pointer to the character to be written to the pad.
wch
Is a pointer to the complex character to be written to the pad.

DESCRIPTION

 

The pechochar() function is equivalent to calling waddch(3XCURSES) followed by a call to prefresh(3XCURSES). The pecho_wchar() function is equivalent to calling wadd_wch(3XCURSES) 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(3XCURSES), addch(3XCURSES), newpad(3XCURSES)


SunOS 5.9Go To TopLast Changed 1 Jun 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.