home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / ncurses-1.9.9e-bin.lha / include / unctrl.h < prev   
C/C++ Source or Header  |  1996-10-12  |  2KB  |  45 lines

  1.  
  2. /***************************************************************************
  3. *                            COPYRIGHT NOTICE                              *
  4. ****************************************************************************
  5. *                ncurses is copyright (C) 1992-1995                        *
  6. *                          Zeyd M. Ben-Halim                               *
  7. *                          zmbenhal@netcom.com                             *
  8. *                          Eric S. Raymond                                 *
  9. *                          esr@snark.thyrsus.com                           *
  10. *                                                                          *
  11. *        Permission is hereby granted to reproduce and distribute ncurses  *
  12. *        by any means and for any fee, whether alone or as part of a       *
  13. *        larger distribution, in source or in binary form, PROVIDED        *
  14. *        this notice is included with any such distribution, and is not    *
  15. *        removed from any of its header files. Mention of ncurses in any   *
  16. *        applications linked with it is highly appreciated.                *
  17. *                                                                          *
  18. *        ncurses comes AS IS with no warranty, implied or expressed.       *
  19. *                                                                          *
  20. ***************************************************************************/
  21.  
  22. /*
  23.  * unctrl.h
  24.  *
  25.  * Display a printable version of a control character.
  26.  * Control characters are displayed in caret notation (^x), DELETE is displayed
  27.  * as ^?. Printable characters are displayed as is.
  28.  *
  29.  * The returned pointer points to a static buffer which gets overwritten by
  30.  * each call. Therefore, you must copy the resulting string to a safe place
  31.  * before calling unctrl() again.
  32.  *
  33.  */
  34. #ifndef _UNCTRL_H
  35. #define _UNCTRL_H    1
  36. #define NCURSES_VERSION "1.9.9e"
  37.  
  38. #ifndef __NCURSES_H
  39. typedef unsigned long  chtype;
  40. #endif
  41.  
  42. extern char *unctrl(chtype);
  43.  
  44. #endif /* _UNCTRL_H */
  45.