home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / INTERNET / UPC2S1.ZIP / USRCATCH.H < prev    next >
C/C++ Source or Header  |  1993-09-29  |  2KB  |  52 lines

  1. #ifndef USRCATCH_H
  2. #define USRCATCH_H
  3.  
  4. /*--------------------------------------------------------------------*/
  5. /*       u s r c a t c h                                              */
  6. /*                                                                    */
  7. /*       SIGUSR handler for UUPC/extended                             */
  8. /*--------------------------------------------------------------------*/
  9.  
  10. /*--------------------------------------------------------------------*/
  11. /*       Changes Copyright (c) 1989-1993 by Kendra Electronic         */
  12. /*       Wonderworks.                                                 */
  13. /*                                                                    */
  14. /*       All rights reserved except those explicitly granted by       */
  15. /*       the UUPC/extended license agreement.                         */
  16. /*--------------------------------------------------------------------*/
  17.  
  18. /*--------------------------------------------------------------------*/
  19. /*                          RCS Information                           */
  20. /*--------------------------------------------------------------------*/
  21.  
  22. /*
  23.  *    $Id: usrcatch.h 1.2 1993/09/29 13:20:49 ahd Exp $
  24.  *
  25.  *    Revision history:
  26.  *    $Log: usrcatch.h $
  27.  * Revision 1.2  1993/09/29  13:20:49  ahd
  28.  * Provide default values for user signals
  29.  *
  30.  * Revision 1.1  1993/09/29  04:56:11  ahd
  31.  * Initial revision
  32.  *
  33.  */
  34.  
  35. extern unsigned long raised;
  36.  
  37. void
  38. #ifdef __TURBOC__
  39. __cdecl
  40. #endif
  41. usrhandler( int sig );
  42.  
  43. #ifndef SIGUSR1
  44. #define SIGUSR1  16     /* User-defined signal 1 */
  45. #endif
  46.  
  47. #ifndef SIGUSR1
  48. #define SIGUSR2  17     /* User-defined signal 2 */
  49. #endif
  50.  
  51. #endif
  52.