summaryrefslogtreecommitdiff
path: root/usr/src/ucblib/libcurses/curses.ext
blob: 5e50d279d3febaf3e711a783dff01904f081e9e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
 * Copyright 1997 Sun Microsystems, Inc.  All rights reserved.
 * Use is subject to license terms.
 */

/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */

/*
 * Copyright (c) 1980 Regents of the University of California.
 * All rights reserved.  The Berkeley software License Agreement
 * specifies the terms and conditions for redistribution.
 */

#pragma ident	"%Z%%M%	%I%	%E% SMI"

/*
 * External variables for the curses library
 */

/*LINTLIBRARY*/

#include	"file64.h"
#include	<curses.h>
#include	<stdio.h>
#include	<stdarg.h>

extern bool	_echoit, _rawmode, My_term, _endwin;

extern char	ttytype[50], *_unctrl[];

extern int	_tty_ch, LINES, COLS;

extern SGTTY	_tty;


/* these are only for building libcurses */
/* but, they could have been used by existing applications */
extern int	_sprintw(WINDOW *, char *, va_list);
extern int	_putchar(char);
extern int	_sscans(WINDOW *, char *, va_list);
extern void	_swflags_(WINDOW *);
extern void	_set_subwin_(WINDOW *, WINDOW *);
extern void	_id_subwins(WINDOW *);

/* this could have been used by existing applications */
extern void	tstp(void);
extern int	gettmode(void);

/* this one should be in /usr/include/term.h __STDC__, it is a bug there */
extern char	*tgoto(char *, int, int);

#ifdef DEBUG
#define	outf	_outf

FILE		*outf;
#endif

/* inter-library dependency */

extern int _doscan(FILE *, const char *, va_list);