xref: /titanic_50/usr/src/lib/libxcurses2/src/libc/llib-lcurses (revision e5dcf7beb7c949f9234713d5818b581ec3825443)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License").  You may not use this file except in compliance
7 * with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/* LINTLIBRARY */
23/* PROTOLIB1 */
24
25/*
26 * Copyright (c) 1996-1998 by Sun Microsystems, Inc.
27 * All rights reserved.
28 */
29
30#pragma ident	"%Z%%M%	%I%	%E% SMI"
31
32#include <curses.h>
33#include <term.h>
34
35/*
36 * lib/libxcurses/src/libc/xcurses routines
37 */
38
39/*
40 * add_wch.c
41 */
42int add_wch(const cchar_t *);
43int mvadd_wch(int, int, const cchar_t *);
44int mvwadd_wch(WINDOW *, int, int, const cchar_t *);
45
46/*
47 * addch.c
48 */
49int addch(chtype);
50int mvaddch(int, int, chtype);
51int mvwaddch(WINDOW *, int, int, chtype);
52
53/*
54 * addchn.c
55 */
56int addchnstr(const chtype *, int);
57int mvaddchnstr(int, int, const chtype *, int);
58int mvwaddchnstr(WINDOW *, int, int, const chtype *, int);
59int addchstr(const chtype *);
60int mvaddchstr(int, int, const chtype *);
61int mvwaddchstr(WINDOW *, int, int, const chtype *);
62int waddchstr(WINDOW *, const chtype *);
63
64/*
65 * addnstr.c
66 */
67int addnstr(const char *, int);
68int mvaddnstr(int, int, const char *, int);
69int mvwaddnstr(WINDOW *, int, int, const char *, int);
70int addstr(const char *);
71int mvaddstr(int, int, const char *);
72int mvwaddstr(WINDOW *, int, int, const char *);
73int waddstr(WINDOW *, const char *);
74
75/*
76 * addnws.c
77 */
78int addnwstr(const wchar_t *, int);
79int mvaddnwstr(int, int, const wchar_t *, int);
80int mvwaddnwstr(WINDOW *, int, int, const wchar_t *, int);
81int addwstr(const wchar_t *);
82int mvaddwstr(int, int, const wchar_t *);
83int mvwaddwstr(WINDOW *, int, int, const wchar_t *);
84int waddwstr(WINDOW *, const wchar_t *);
85
86/*
87 * addwchn.c
88 */
89int add_wchnstr(const cchar_t *, int);
90int mvadd_wchnstr(int, int, const cchar_t *, int);
91int mvwadd_wchnstr(WINDOW *, int, int, const cchar_t *, int);
92int add_wchstr(const cchar_t *);
93int mvadd_wchstr(int, int, const cchar_t *);
94int mvwadd_wchstr(WINDOW *, int, int, const cchar_t *);
95int wadd_wchstr(WINDOW *, const cchar_t *);
96
97/*
98 * attr_on.c
99 */
100int attr_on(attr_t, void *);
101int attr_off(attr_t, void *);
102int attr_set(attr_t, short, void *);
103int color_set(short, void *);
104int attr_get(attr_t *, short *, void *);
105int standout(void);
106int standend(void);
107
108/*
109 * attron.c
110 */
111int attron(int);
112int attroff(int);
113int attrset(int);
114int COLOR_PAIR(int);
115int PAIR_NUMBER(int);
116
117/*
118 * baudrate.c
119 */
120int baudrate(void);
121
122/*
123 * beep.c
124 */
125int beep(void);
126int flash(void);
127
128/*
129 * bkgd.c
130 */
131int bkgd(chtype);
132int wbkgd(WINDOW *, chtype);
133
134/*
135 * bkgdset.c
136 */
137void bkgdset(chtype);
138void wbkgdset(WINDOW *, chtype);
139chtype getbkgd(WINDOW *);
140
141/*
142 * bkgrnd.c
143 */
144int bkgrnd(const cchar_t *);
145
146/*
147 * bkgrndst.c
148 */
149void bkgrndset(const cchar_t *);
150void wbkgrndset(WINDOW *, const cchar_t *);
151int getbkgrnd(cchar_t *);
152int wgetbkgrnd(WINDOW *, cchar_t *);
153
154/*
155 * box.c
156 */
157int box(WINDOW *, chtype, chtype);
158
159/*
160 * box_set.c
161 */
162int box_set(WINDOW *, const cchar_t *, const cchar_t *);
163
164/*
165 * brdr.c
166 */
167int border(chtype, chtype, chtype, chtype, chtype, chtype, chtype, chtype);
168
169/*
170 * brdr_st.c
171 */
172int border_set(const cchar_t *, const cchar_t *,
173	const cchar_t *, const cchar_t *,
174	const cchar_t *, const cchar_t *,
175	const cchar_t *, const cchar_t *);
176
177/*
178 * cbreak.c
179 */
180int cbreak(void);
181int nocbreak(void);
182int halfdelay(int);
183int raw(void);
184int noraw(void);
185
186/*
187 * chgat.c
188 */
189int chgat(int, attr_t, short, const void *);
190int mvchgat(int, int, int, attr_t, short, const void *);
191int mvwchgat(WINDOW *, int, int, int, attr_t, short, const void *);
192
193/*
194 * clear.c
195 */
196int clear(void);
197int erase(void);
198
199/*
200 * clearok.c
201 */
202int clearok(WINDOW *, bool);
203void immedok(WINDOW *, bool);
204int leaveok(WINDOW *, bool);
205int notimeout(WINDOW *, bool);
206int scrollok(WINDOW *, bool);
207
208/*
209 * clrbot.c
210 */
211int clrtobot(void);
212
213/*
214 * clreol.c
215 */
216int clrtoeol(void);
217
218/*
219 * color.c
220 */
221int start_color(void);
222int init_color(short, short, short, short);
223int init_pair(short, short, short);
224int color_content(short, short *, short *, short *);
225int pair_content(short, short *, short *);
226
227/*
228 * copywin.c
229 */
230int copywin(const WINDOW *, WINDOW *, int, int, int, int, int, int, int);
231
232/*
233 * curs_set.c
234 */
235int curs_set(int);
236
237/*
238 * delay.c
239 */
240int delay_output(int);
241
242/*
243 * delch.c
244 */
245int delch(void);
246int mvdelch(int, int);
247int mvwdelch(WINDOW *, int, int);
248
249/*
250 * deleteln.c
251 */
252int deleteln(void);
253int insertln(void);
254int insdelln(int);
255int wdeleteln(WINDOW *);
256int winsertln(WINDOW *);
257
258/*
259 * doupdate.c
260 */
261int doupdate(void);
262void idcok(WINDOW *, bool);
263int idlok(WINDOW *, bool);
264
265/*
266 * dupwin.c
267 */
268WINDOW *dupwin(WINDOW *);
269
270/*
271 * echo_wch.c
272 */
273int echo_wchar(const cchar_t *);
274int wecho_wchar(WINDOW *, const cchar_t *);
275
276/*
277 * echochar.c
278 */
279int echochar(chtype);
280int wechochar(WINDOW *, chtype);
281
282/*
283 * endwin.c
284 */
285int endwin(void);
286
287/*
288 * flushinp.c
289 */
290int flushinp(void);
291
292/*
293 * get_wch.c
294 */
295int get_wch(wint_t *);
296int mvget_wch(int, int, wint_t *);
297int mvwget_wch(WINDOW *, int, int, wint_t *);
298
299/*
300 * getcchar.c
301 */
302int getcchar(const cchar_t *, wchar_t *, attr_t *, short *, void *);
303
304/*
305 * getch.c
306 */
307int getch(void);
308int mvgetch(int, int);
309int mvwgetch(WINDOW *, int, int);
310
311/*
312 * getn_ws.c
313 */
314int getn_wstr(wint_t *, int);
315int mvgetn_wstr(int, int, wint_t *, int);
316int mvwgetn_wstr(WINDOW *, int, int, wint_t *, int);
317int get_wstr(wint_t *);
318int mvget_wstr(int, int, wint_t *);
319int mvwget_wstr(WINDOW *, int, int, wint_t *);
320int wget_wstr(WINDOW *, wint_t *);
321
322/*
323 * getnstr.c
324 */
325int getnstr(char *, int);
326int mvgetnstr(int, int, char *, int);
327int mvwgetnstr(WINDOW *, int, int, char *, int);
328int getstr(char *);
329int mvgetstr(int, int, char *);
330int mvwgetstr(WINDOW *, int, int, char *);
331int wgetstr(WINDOW *, char *);
332
333/*
334 * getwin.c
335 */
336WINDOW *getwin(FILE *);
337int putwin(WINDOW *,  FILE *);
338
339/*
340 * has.c
341 */
342bool has_colors(void);
343bool has_ic(void);
344bool has_il(void);
345bool can_change_color(void);
346
347/*
348 * hln.c
349 */
350int hline(chtype, int);
351int mvhline(int, int, chtype, int);
352int mvwhline(WINDOW *, int, int, chtype, int);
353int vline(chtype, int);
354int mvvline(int, int, chtype, int);
355int mvwvline(WINDOW *, int, int, chtype, int);
356
357/*
358 * hln_st.c
359 */
360int hline_set(const cchar_t *, int);
361int mvhline_set(int, int, const cchar_t *, int);
362int mvwhline_set(WINDOW *, int, int, const cchar_t *, int);
363int vline_set(const cchar_t *, int);
364int mvvline_set(int, int, const cchar_t *, int);
365int mvwvline_set(WINDOW *, int, int, const cchar_t *, int);
366
367/*
368 * in_wch.c
369 */
370int in_wch(cchar_t *);
371int mvin_wch(int, int, cchar_t *);
372int mvwin_wch(WINDOW *, int, int, cchar_t *);
373
374/*
375 * in_wchn.c
376 */
377int in_wchnstr(cchar_t *, int);
378int mvin_wchnstr(int, int, cchar_t *, int);
379int mvwin_wchnstr(WINDOW *, int, int, cchar_t *, int);
380int in_wchstr(cchar_t *);
381int mvin_wchstr(int, int, cchar_t *);
382int mvwin_wchstr(WINDOW *, int, int, cchar_t *);
383int win_wchstr(WINDOW *, cchar_t *);
384
385/*
386 * inch.c
387 */
388chtype inch(void);
389chtype mvinch(int, int);
390chtype mvwinch(WINDOW *, int, int);
391
392/*
393 * inchn.c
394 */
395int inchnstr(chtype *, int);
396int mvinchnstr(int, int, chtype *, int);
397int mvwinchnstr(WINDOW *, int, int, chtype *, int);
398int inchstr(chtype *);
399int mvinchstr(int, int, chtype *);
400int mvwinchstr(WINDOW *, int, int, chtype *);
401int winchstr(WINDOW *, chtype *);
402
403/*
404 * initscr.c
405 */
406WINDOW *initscr(void);
407
408/*
409 * innstr.c
410 */
411int innstr(char *, int);
412int mvinnstr(int, int, char *, int);
413int mvwinnstr(WINDOW *, int, int, char *, int);
414int instr(char *);
415int mvinstr(int, int, char *);
416int mvwinstr(WINDOW *, int, int, char *);
417int winstr(WINDOW *, char *);
418
419/*
420 * innwstr.c
421 */
422int innwstr(wchar_t *, int);
423int mvinnwstr(int, int, wchar_t *, int);
424int mvwinnwstr(WINDOW *, int, int, wchar_t *, int);
425int inwstr(wchar_t *);
426int mvinwstr(int, int, wchar_t *);
427int mvwinwstr(WINDOW *, int, int, wchar_t *);
428int winwstr(WINDOW *, wchar_t *);
429
430/*
431 * ins_nws.c
432 */
433int ins_nwstr(const wchar_t *, int);
434int mvins_nwstr(int, int, const wchar_t *, int);
435int mvwins_nwstr(WINDOW *, int, int, const wchar_t *, int);
436int ins_wstr(const wchar_t *);
437int mvins_wstr(int, int, const wchar_t *);
438int mvwins_wstr(WINDOW *, int, int, const wchar_t *);
439int wins_wstr(WINDOW *, const wchar_t *);
440
441/*
442 * ins_wch.c
443 */
444int ins_wch(const cchar_t *);
445int mvins_wch(int, int, const cchar_t *);
446int mvwins_wch(WINDOW *, int, int, const cchar_t *);
447
448/*
449 * insch.c
450 */
451int insch(chtype);
452int mvinsch(int, int, chtype);
453int mvwinsch(WINDOW *, int, int, chtype);
454
455/*
456 * insnstr.c
457 */
458int insnstr(const char *, int);
459int mvinsnstr(int, int, const char *, int);
460int mvwinsnstr(WINDOW *, int, int, const char *, int);
461int insstr(const char *);
462int mvinsstr(int, int, const char *);
463int mvwinsstr(WINDOW *, int, int, const char *);
464int winsstr(WINDOW *, const char *);
465
466/*
467 * intrflsh.c
468 */
469int intrflush(WINDOW *, bool);
470
471/*
472 * isendwin.c
473 */
474bool isendwin(void);
475
476/*
477 * key_name.c
478 */
479char *key_name(wchar_t);
480
481/*
482 * keyname.c
483 */
484char *keyname(int);
485
486/*
487 * keypad.c
488 */
489int keypad(WINDOW *, bool);
490
491/*
492 * killchar.c
493 */
494char erasechar(void);
495char killchar(void);
496
497/*
498 * killwch.c
499 */
500int erasewchar(wchar_t *);
501int killwchar(wchar_t *);
502
503/*
504 * longname.c
505 */
506char *longname(void);
507char *termname(void);
508
509/*
510 * meta.c
511 */
512int meta(WINDOW *, bool);
513
514/*
515 * move.c
516 */
517int move(int, int);
518
519/*
520 * mvcur.c
521 */
522int mvcur(int, int, int, int);
523
524/*
525 * mvwin.c
526 */
527int mvwin(WINDOW *, int, int);
528int mvderwin(WINDOW *, int, int);
529
530/*
531 * napms.c
532 */
533int napms(int);
534
535/*
536 * newpad.c
537 */
538WINDOW *newpad(int, int);
539WINDOW *subpad(WINDOW *, int, int, int, int);
540
541/*
542 * newterm.c
543 */
544void filter(void);
545void tstp(int);
546int ripoffline(int, int (*)(WINDOW *, int));
547SCREEN *newterm(char *, FILE *, FILE *);
548void delscreen(SCREEN *);
549SCREEN *set_term(SCREEN *);
550int typeahead(int);
551
552/*
553 * newwin.c
554 */
555int delwin(WINDOW *);
556WINDOW *derwin(WINDOW *, int, int, int, int);
557WINDOW *newwin(int, int, int, int);
558WINDOW *subwin(WINDOW *, int, int, int, int);
559
560/*
561 * noecho.c
562 */
563int echo(void);
564int noecho(void);
565
566/*
567 * nonl.c
568 */
569int nl(void);
570int nonl(void);
571
572/*
573 * overlay.c
574 */
575int overlay(const WINDOW *, WINDOW *);
576int overwrite(const WINDOW *, WINDOW *);
577
578/*
579 * pecho_wc.c
580 */
581int pecho_wchar(WINDOW *, const cchar_t *);
582
583/*
584 * pechoch.c
585 */
586int pechochar(WINDOW *, chtype);
587
588/*
589 * prefresh.c
590 */
591int prefresh(WINDOW *, int, int, int, int, int, int);
592int pnoutrefresh(WINDOW *, int, int, int, int, int, int);
593
594/*
595 * printw.c
596 */
597int printw(char *, ...);
598int mvprintw(int, int, char *, ...);
599int mvwprintw(WINDOW *, int, int, char *, ...);
600int wprintw(WINDOW *, char *, ...);
601
602/*
603 * qiflush.c
604 */
605void qiflush(void);
606void noqiflush(void);
607
608/*
609 * redraw.c
610 */
611int redrawwin(WINDOW *);
612
613/*
614 * refresh.c
615 */
616int refresh(void);
617
618/*
619 * savetty.c
620 */
621int savetty(void);
622int resetty(void);
623
624/*
625 * scanw.c
626 */
627int scanw(char *, ...);
628int mvscanw(int, int, char *, ...);
629int mvwscanw(WINDOW *, int, int, char *, ...);
630int wscanw(WINDOW *, char *, ...);
631
632/*
633 * scr_dump.c
634 */
635int scr_dump(const char *);
636int scr_restore(const char *);
637int scr_init(const char *);
638int scr_set(const char *);
639
640/*
641 * scrl.c
642 */
643int scroll(WINDOW *);
644int scrl(int);
645
646/*
647 * scrreg.c
648 */
649int setscrreg(int, int);
650
651/*
652 * setcchar.c
653 */
654int setcchar(cchar_t *, const wchar_t *, attr_t, short, const void *);
655
656/*
657 * setup.c
658 */
659void use_env(bool);
660int setupterm(char *, int, int *);
661int del_curterm(TERMINAL *);
662TERMINAL *set_curterm(TERMINAL *);
663int restartterm(char *, int, int *);
664int def_shell_mode(void);
665int def_prog_mode(void);
666int reset_shell_mode(void);
667int reset_prog_mode(void);
668
669/*
670 * slk.c
671 */
672int slk_init(int);
673int slk_attron(const chtype);
674int slk_attroff(const chtype);
675int slk_attrset(const chtype);
676int slk_attr_off(const attr_t, void *);
677int slk_attr_on(const attr_t, void *);
678int slk_attr_set(const attr_t, short, void *);
679int slk_color(short);
680int slk_touch(void);
681int slk_clear(void);
682int slk_restore(void);
683int slk_noutrefresh(void);
684int slk_refresh(void);
685char *slk_label(int);
686int slk_set(int, const char *, int);
687int slk_wset(int, const wchar_t *, int);
688int slk_color_set(short);
689
690/*
691 * termattr.c
692 */
693chtype termattrs(void);
694attr_t term_attrs(void);
695
696/*
697 * tgetent.c
698 */
699int tgetent(char *, const char *);
700
701/*
702 * tgetflag.c
703 */
704int tgetflag(char *);
705
706/*
707 * tgetnum.c
708 */
709int tgetnum(char *);
710
711/*
712 * tgetstr.c
713 */
714char *tgetstr(char *, char **);
715
716/*
717 * tgoto.c
718 */
719char *tgoto(char *, int, int);
720
721/*
722 * tigetfla.c
723 */
724int tigetflag(char *);
725
726/*
727 * tigetnum.c
728 */
729int tigetnum(char *);
730
731/*
732 * tigetstr.c
733 */
734char *tigetstr(char *);
735
736/*
737 * timeout.c
738 */
739int nodelay(WINDOW *, bool);
740void timeout(int);
741
742/*
743 * touched.c
744 */
745bool is_linetouched(WINDOW *, int);
746bool is_wintouched(WINDOW *);
747
748/*
749 * touchwin.c
750 */
751int touchwin(WINDOW *);
752int untouchwin(WINDOW *);
753int touchline(WINDOW *, int, int);
754
755/*
756 * unctrl.c
757 */
758char *unctrl(chtype);
759
760/*
761 * vid_attr.c
762 */
763int vid_attr(attr_t, short, void *);
764
765/*
766 * vid_puts.c
767 */
768int vid_puts(attr_t, short, void *, int (*)(int));
769
770/*
771 * vidattr.c
772 */
773int vidattr(chtype);
774int vidputs(chtype, int (*)(int));
775
776/*
777 * vw_print.c
778 */
779int vw_printw(WINDOW *, char *, __va_list);
780
781/*
782 * vw_scanw.c
783 */
784int vw_scanw(WINDOW *, char *, __va_list);
785
786/*
787 * vwprintw.c
788 */
789int vwprintw(WINDOW *, char *, __va_list);
790
791/*
792 * vwscanw.c
793 */
794int vwscanw(WINDOW *, char *, __va_list);
795
796/*
797 * wadd_wch.c
798 */
799int wadd_wch(WINDOW *, const cchar_t *);
800
801/*
802 * waddch.c
803 */
804int waddch(WINDOW *, chtype);
805
806/*
807 * waddchn.c
808 */
809int waddchnstr(WINDOW *, const chtype *, int);
810
811/*
812 * waddnstr.c
813 */
814int waddnstr(WINDOW *, const char *, int);
815
816/*
817 * waddnws.c
818 */
819int waddnwstr(WINDOW *, const wchar_t *, int);
820
821/*
822 * waddwchn.c
823 */
824int wadd_wchnstr(WINDOW *, const cchar_t *, int);
825
826/*
827 * wattr_on.c
828 */
829int wattr_on(WINDOW *, attr_t, void *);
830int wattr_off(WINDOW *, attr_t, void *);
831int wattr_set(WINDOW *, attr_t, short, void *);
832int wattr_get(WINDOW *, attr_t *, short *, void *);
833int wcolor_set(WINDOW *, short, void *);
834int wstandout(WINDOW *);
835int wstandend(WINDOW *);
836
837/*
838 * wattron.c
839 */
840int wattron(WINDOW *, int);
841int wattroff(WINDOW *, int);
842int wattrset(WINDOW *, int);
843
844/*
845 * wbkgrnd.c
846 */
847int wbkgrnd(WINDOW *, const cchar_t *);
848
849/*
850 * wbrdr.c
851 */
852int wborder(WINDOW *, chtype, chtype, chtype, chtype,
853	chtype, chtype, chtype, chtype);
854
855/*
856 * wbrdr_st.c
857 */
858int wborder_set(WINDOW *, const cchar_t *, const cchar_t *,
859	const cchar_t *, const cchar_t *, const cchar_t *, const cchar_t *,
860	const cchar_t *, const cchar_t *);
861
862/*
863 * wchgat.c
864 */
865int wchgat(WINDOW *, int, attr_t, short, const void *);
866
867/*
868 * wclear.c
869 */
870int wclear(WINDOW *);
871int werase(WINDOW *);
872
873/*
874 * wclrbot.c
875 */
876int wclrtobot(WINDOW *);
877
878/*
879 * wclreol.c
880 */
881int wclrtoeol(WINDOW *);
882
883/*
884 * wdelch.c
885 */
886int wdelch(WINDOW *);
887
888/*
889 * wget_wch.c
890 */
891int unget_wch(const wchar_t);
892int wget_wch(WINDOW *, wint_t *);
893
894/*
895 * wgetch.c
896 */
897int ungetch(int);
898int wgetch(WINDOW *);
899
900/*
901 * wgetn_ws.c
902 */
903int wgetnstr(WINDOW *, char *, int);
904int wgetn_wstr(WINDOW *, wint_t *, int);
905
906/*
907 * whln.c
908 */
909int whline(WINDOW *, chtype, int);
910int wvline(WINDOW *, chtype, int);
911
912/*
913 * whln_st.c
914 */
915int whline_set(WINDOW *, const cchar_t *, int);
916int wvline_set(WINDOW *, const cchar_t *, int);
917
918/*
919 * win_wch.c
920 */
921int win_wch(WINDOW *, cchar_t *);
922
923/*
924 * win_wchn.c
925 */
926int win_wchnstr(WINDOW *, cchar_t *, int);
927
928/*
929 * winch.c
930 */
931chtype winch(WINDOW *);
932
933/*
934 * winchn.c
935 */
936int winchnstr(WINDOW *, chtype *, int);
937
938/*
939 * winnstr.c
940 */
941int winnstr(WINDOW *, char *, int);
942
943/*
944 * winnwstr.c
945 */
946int winnwstr(WINDOW *, wchar_t *, int);
947
948/*
949 * wins_nws.c
950 */
951int wins_nwstr(WINDOW *, const wchar_t *, int);
952
953/*
954 * wins_wch.c
955 */
956int wins_wch(WINDOW *, const cchar_t *);
957
958/*
959 * winsch.c
960 */
961int winsch(WINDOW *, chtype);
962
963/*
964 * winsdel.c
965 */
966int winsdelln(WINDOW *, int);
967
968/*
969 * winsnstr.c
970 */
971int winsnstr(WINDOW *, const char *, int);
972
973/*
974 * wmove.c
975 */
976int wmove(WINDOW *, int, int);
977
978/*
979 * wredraw.c
980 */
981int wredrawln(WINDOW *, int, int);
982
983/*
984 * wrefresh.c
985 */
986int wrefresh(WINDOW *);
987int wnoutrefresh(WINDOW *);
988
989/*
990 * wscrl.c
991 */
992int wscrl(WINDOW *, int);
993
994/*
995 * wscrreg.c
996 */
997int wsetscrreg(WINDOW *, int, int);
998
999/*
1000 * wsyncdn.c
1001 */
1002void wsyncdown(WINDOW *);
1003
1004/*
1005 * wsyncup.c
1006 */
1007int syncok(WINDOW *, bool);
1008void wsyncup(WINDOW *);
1009void wcursyncup(WINDOW *);
1010
1011/*
1012 * wtimeout.c
1013 */
1014void wtimeout(WINDOW *, int);
1015
1016/*
1017 * wtouchln.c
1018 */
1019int wtouchln(WINDOW *, int, int, int);
1020
1021/*
1022 * wunctrl.c
1023 */
1024wchar_t *wunctrl(cchar_t *);
1025