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