termcap.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* Declarations for termcap library.
  2. Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc.
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation; either version 2, or (at your option)
  6. any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
  14. #ifndef _TERMCAP_H
  15. #define _TERMCAP_H 1
  16. #if __STDC__
  17. extern int tgetent (char *buffer, const char *termtype);
  18. extern int tgetnum (const char *name);
  19. extern int tgetflag (const char *name);
  20. extern char *tgetstr (const char *name, char **area);
  21. extern char PC;
  22. extern short ospeed;
  23. extern void tputs (const char *string, int nlines, int (*outfun) (int));
  24. extern char *tparam (const char *ctlstring, char *buffer, int size, ...);
  25. extern char *UP;
  26. extern char *BC;
  27. extern char *tgoto (const char *cstring, int hpos, int vpos);
  28. #else /* not __STDC__ */
  29. extern int tgetent ();
  30. extern int tgetnum ();
  31. extern int tgetflag ();
  32. extern char *tgetstr ();
  33. extern char PC;
  34. extern short ospeed;
  35. extern void tputs ();
  36. extern char *tparam ();
  37. extern char *UP;
  38. extern char *BC;
  39. extern char *tgoto ();
  40. #endif /* not __STDC__ */
  41. #endif /* not _TERMCAP_H */