xref: /titanic_51/usr/src/ucblib/libcurses/curses.ext (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
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
28extern bool	_echoit, _rawmode, My_term, _endwin;
29
30extern char	ttytype[50], *_unctrl[];
31
32extern int	_tty_ch, LINES, COLS;
33
34extern SGTTY	_tty;
35
36
37/* these are only for building libcurses */
38/* but, they could have been used by existing applications */
39extern int	_sprintw(WINDOW *, char *, va_list);
40extern int	_putchar(char);
41extern int	_sscans(WINDOW *, char *, va_list);
42extern void	_swflags_(WINDOW *);
43extern void	_set_subwin_(WINDOW *, WINDOW *);
44extern void	_id_subwins(WINDOW *);
45
46/* this could have been used by existing applications */
47extern void	tstp(void);
48extern int	gettmode(void);
49
50/* this one should be in /usr/include/term.h __STDC__, it is a bug there */
51extern char	*tgoto(char *, int, int);
52
53#ifdef DEBUG
54#define	outf	_outf
55
56FILE		*outf;
57#endif
58
59/* inter-library dependency */
60
61extern int _doscan(FILE *, const char *, va_list);
62