1 /* 2 * Copyright 1997 Sun Microsystems, Inc. All rights reserved. 3 * Use is subject to license terms. 4 */ 5 6 /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ 7 /* All Rights Reserved */ 8 9 /* 10 * Copyright (c) 1980 Regents of the University of California. 11 * All rights reserved. The Berkeley software License Agreement 12 * specifies the terms and conditions for redistribution. 13 */ 14 15 #pragma ident "%Z%%M% %I% %E% SMI" 16 17 /* 18 * External variables for the curses library 19 */ 20 21 /*LINTLIBRARY*/ 22 23 #include "file64.h" 24 #include <curses.h> 25 #include <stdio.h> 26 #include <stdarg.h> 27 28 extern bool _echoit, _rawmode, My_term, _endwin; 29 30 extern char ttytype[50], *_unctrl[]; 31 32 extern int _tty_ch, LINES, COLS; 33 34 extern SGTTY _tty; 35 36 37 /* these are only for building libcurses */ 38 /* but, they could have been used by existing applications */ 39 extern int _sprintw(WINDOW *, char *, va_list); 40 extern int _putchar(char); 41 extern int _sscans(WINDOW *, char *, va_list); 42 extern void _swflags_(WINDOW *); 43 extern void _set_subwin_(WINDOW *, WINDOW *); 44 extern void _id_subwins(WINDOW *); 45 46 /* this could have been used by existing applications */ 47 extern void tstp(void); 48 extern int gettmode(void); 49 50 /* this one should be in /usr/include/term.h __STDC__, it is a bug there */ 51 extern char *tgoto(char *, int, int); 52 53 #ifdef DEBUG 54 #define outf _outf 55 56 FILE *outf; 57 #endif 58 59 /* inter-library dependency */ 60 61 extern int _doscan(FILE *, const char *, va_list); 62