home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / armlinux / alpha / PARTITIONS / USR_GZ / usr / include / termcap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-14  |  1.8 KB  |  79 lines

  1. /* Declarations for termcap library.
  2.    Copyright (C) 1991, 1992 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., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18. #ifndef _TERMCAP_H
  19. #define _TERMCAP_H 1
  20.  
  21. #include <sys/types.h>
  22.  
  23. #ifdef __STDC__
  24.  
  25. typedef int (*outfuntype) (int);
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30.  
  31. extern int tgetent (void *__buffer, const char *__termtype);
  32.  
  33. extern int tgetnum (const char *__name);
  34. extern int tgetflag (const char *__name);
  35. extern char *tgetstr (const char *__name, char **__area);
  36.  
  37. extern char PC;
  38. #ifdef __linux__
  39. extern speed_t ospeed;
  40. #else
  41. extern short ospeed;
  42. #endif
  43. extern void tputs (const char *__string, int __nlines, outfuntype);
  44.  
  45. extern char *tparam (const char *__ctlstring, void *__buffer, int __size, ...);
  46.  
  47. extern char *UP;
  48. extern char *BC;
  49.  
  50. extern char *tgoto (const char *__cstring, int __hpos, int __vpos);
  51.  
  52. #ifdef __cplusplus
  53. }
  54. #endif
  55.  
  56. #else /* not ANSI C */
  57.  
  58. extern int tgetent ();
  59.  
  60. extern int tgetnum ();
  61. extern int tgetflag ();
  62. extern char *tgetstr ();
  63.  
  64. extern char PC;
  65. extern short ospeed;
  66.  
  67. extern int tputs ();
  68.  
  69. extern char *tparam ();
  70.  
  71. extern char *UP;
  72. extern char *BC;
  73.  
  74. extern char *tgoto ();
  75.  
  76. #endif /* not ANSI C */
  77.  
  78. #endif /* not _TERMCAP_H */
  79.