]>
git.ipfire.org Git - thirdparty/bash.git/blob - lib/termcap/termcap.h
1 /* Declarations for termcap library.
2 Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc.
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)
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.
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. */
23 extern int tgetent (char *buffer
, const char *termtype
);
25 extern int tgetnum (const char *name
);
26 extern int tgetflag (const char *name
);
27 extern char *tgetstr (const char *name
, char **area
);
31 extern void tputs (const char *string
, int nlines
, int (*outfun
) (int));
33 extern char *tparam (const char *ctlstring
, char *buffer
, int size
, ...);
38 extern char *tgoto (const char *cstring
, int hpos
, int vpos
);
40 #else /* not __STDC__ */
42 extern int tgetent ();
44 extern int tgetnum ();
45 extern int tgetflag ();
46 extern char *tgetstr ();
53 extern char *tparam ();
58 extern char *tgoto ();
60 #endif /* not __STDC__ */
62 #endif /* not _TERMCAP_H */