source: trunk/essentials/app-shells/bash/lib/termcap/termcap.h

Last change on this file was 3231, checked in by bird, 18 years ago

eol style.

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1/* Declarations for termcap library.
2 Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc.
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
17
18#ifndef _TERMCAP_H
19#define _TERMCAP_H 1
20
21#if __STDC__
22
23extern int tgetent (char *buffer, const char *termtype);
24
25extern int tgetnum (const char *name);
26extern int tgetflag (const char *name);
27extern char *tgetstr (const char *name, char **area);
28
29extern char PC;
30extern short ospeed;
31extern void tputs (const char *string, int nlines, int (*outfun) (int));
32
33extern char *tparam (const char *ctlstring, char *buffer, int size, ...);
34
35extern char *UP;
36extern char *BC;
37
38extern char *tgoto (const char *cstring, int hpos, int vpos);
39
40#else /* not __STDC__ */
41
42extern int tgetent ();
43
44extern int tgetnum ();
45extern int tgetflag ();
46extern char *tgetstr ();
47
48extern char PC;
49extern short ospeed;
50
51extern void tputs ();
52
53extern char *tparam ();
54
55extern char *UP;
56extern char *BC;
57
58extern char *tgoto ();
59
60#endif /* not __STDC__ */
61
62#endif /* not _TERMCAP_H */
Note: See TracBrowser for help on using the repository browser.