1pechochar(3XCURSES)     X/Open Curses Library Functions    pechochar(3XCURSES)
2
3
4

NAME

6       pechochar, pecho_wchar - add character and refresh window
7

SYNOPSIS

9       cc [ flag... ] file... -I /usr/xpg4/include  -L  /usr/xpg4/lib \
10        -R  /usr/xpg4/lib  -lcurses  [ library... ]
11
12       c89 [ flag... ] file... -lcurses [ library... ]
13
14       #include <curses.h>
15
16       int pechochar(WINDOW *pad, chtype ch);
17
18
19       int pecho_wchar(WINDOW *pad, const chtype *wch);
20
21

PARAMETERS

23       pad    Is a pointer to the pad in which the character is to be added.
24
25
26       ch     Is a pointer to the character to be written to the pad.
27
28
29       wch    Is a pointer to the complex character to be written to the pad.
30
31

DESCRIPTION

33       The pechochar() function is equivalent to calling waddch(3XCURSES) fol‐
34       lowed by a call to prefresh(3XCURSES). The  pecho_wchar()  function  is
35       equivalent  to  calling  wadd_wch(3XCURSES)  followed by a call to pre‐
36       fresh(). prefresh() reuses the last position of the pad on  the  screen
37       for its parameters.
38

RETURN VALUES

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

ERRORS

43       None.
44

ATTRIBUTES

46       See attributes(5) for descriptions of the following attributes:
47
48
49
50
51       ┌─────────────────────────────┬─────────────────────────────┐
52       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
53       ├─────────────────────────────┼─────────────────────────────┤
54       │Interface Stability          │Standard                     │
55       ├─────────────────────────────┼─────────────────────────────┤
56       │MT-Level                     │Unsafe                       │
57       └─────────────────────────────┴─────────────────────────────┘
58

SEE ALSO

60       add_wch(3XCURSES),     addch(3XCURSES),    libcurses(3XCURSES),    new‐
61       pad(3XCURSES), attributes(5), standards(5)
62
63
64
65SunOS 5.11                        5 Jun 2002               pechochar(3XCURSES)
Impressum