home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / PROG / CUJDEC93.ZIP / WINROTH / LIST.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-11-08  |  4.8 KB  |  111 lines

  1. /*
  2. ** Exception Library -- General exception handling for ANSI C programs
  3. ** 
  4. ** Copyright (C) 1993 Computational Vision and Active Perception Lab. (CVAP),
  5. **                    Royal Institute of Technology, Stockholm.
  6. **
  7. ** This library is free software; you can redistribute it and/or
  8. ** modify it under the terms of the GNU Library General Public
  9. ** License as published by the Free Software Foundation; either
  10. ** version 2 of the License, or (at your option) any later version.
  11. ** 
  12. ** This library is distributed in the hope that it will be useful,
  13. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. ** Library General Public License for more details.
  16. ** 
  17. ** You should have received a copy of the GNU Library General Public
  18. ** License along with this library (see COPYING-LIB); if not, write to 
  19. ** the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, 
  20. ** USA.
  21. ** 
  22. **                            Written by
  23. **                                 
  24. **                  Harald Winroth, Matti Rendahl
  25. **      Computational Vision and Active Perception Laboratory
  26. **                  Royal Institute of Technology
  27. **                        S-100 44 Stockholm
  28. **                              Sweden
  29. **                                 
  30. ** Report bugs to candela-bug@bion.kth.se, and direct all inquiries to 
  31. ** candela@bion.kth.se.
  32. **
  33. */
  34.  
  35. /*
  36.  * exc-sig-list.h: List of all signals
  37.  */
  38.  
  39. #ifndef _exception_exc_sig_list_h
  40. #define _exception_exc_sig_list_h
  41.  
  42. #if defined(SVR4) || defined(SYSV) || defined(_SYSV_)
  43. _EXC_SIG (_EXC_SIG_ENTRY (SIGHUP,       sighup)
  44.           _EXC_SIG_ENTRY (SIGINT,       sigint)
  45.           _EXC_SIG_ENTRY (SIGQUIT,      sigquit)
  46.           _EXC_SIG_ENTRY (SIGILL,       sigill)
  47.           _EXC_SIG_ENTRY (SIGTRAP,      sigtrap)
  48.           _EXC_SIG_ENTRY (SIGABRT,      sigabrt)
  49.           _EXC_SIG_ENTRY (SIGEMT,       sigemt)
  50.           _EXC_SIG_ENTRY (SIGFPE,       sigfpe)
  51.           _EXC_SIG_ENTRY (SIGKILL,      sigkill)
  52.           _EXC_SIG_ENTRY (SIGBUS,       sigbus)
  53.           _EXC_SIG_ENTRY (SIGSEGV,      sigsegv)
  54.           _EXC_SIG_ENTRY (SIGSYS,       sigsys)
  55.           _EXC_SIG_ENTRY (SIGPIPE,      sigpipe)
  56.           _EXC_SIG_ENTRY (SIGALRM,      sigalrm)
  57.           _EXC_SIG_ENTRY (SIGTERM,      sigterm)
  58.           _EXC_SIG_ENTRY (SIGUSR1,      sigusr1)
  59.           _EXC_SIG_ENTRY (SIGUSR2,      sigusr2)
  60.           _EXC_SIG_ENTRY (SIGCHLD,      sigchld)
  61.           _EXC_SIG_ENTRY (SIGPWR,       sigpwr)
  62.           _EXC_SIG_ENTRY (SIGWINCH,     sigwinch)
  63.           _EXC_SIG_ENTRY (SIGURG,       sigurg)
  64.           _EXC_SIG_ENTRY (SIGPOLL,      sigpoll)
  65.           _EXC_SIG_ENTRY (SIGSTOP,      sigstop)
  66.           _EXC_SIG_ENTRY (SIGTSTP,      sigtstp)
  67.           _EXC_SIG_ENTRY (SIGCONT,      sigcont)
  68.           _EXC_SIG_ENTRY (SIGTTIN,      sigttin)
  69.           _EXC_SIG_ENTRY (SIGTTOU,      sigttou)
  70.           _EXC_SIG_ENTRY (SIGVTALRM,    sigvtalrm)
  71.           _EXC_SIG_ENTRY (SIGPROF,      sigprof)
  72.           _EXC_SIG_ENTRY (SIGXCPU,      sigxcpu)
  73.           _EXC_SIG_ENTRY (SIGXFSZ,      sigxfsz)
  74.           _EXC_SIG_ENTRY (SIGWAITING,   sigwaiting)
  75.           _EXC_SIG_ENTRY (SIGLWP,       siglwp));
  76. #else
  77. _EXC_SIG (_EXC_SIG_ENTRY (SIGHUP,       sighup)
  78.           _EXC_SIG_ENTRY (SIGINT,       sigint)
  79.           _EXC_SIG_ENTRY (SIGQUIT,      sigquit)
  80.           _EXC_SIG_ENTRY (SIGILL,       sigill)
  81.           _EXC_SIG_ENTRY (SIGTRAP,      sigtrap)
  82.           _EXC_SIG_ENTRY (SIGIOT,       sigiot)
  83.           _EXC_SIG_ENTRY (SIGEMT,       sigemt)
  84.           _EXC_SIG_ENTRY (SIGFPE,       sigfpe)
  85.           _EXC_SIG_ENTRY (SIGKILL,      sigkill)
  86.           _EXC_SIG_ENTRY (SIGBUS,       sigbus)
  87.           _EXC_SIG_ENTRY (SIGSEGV,      sigsegv)
  88.           _EXC_SIG_ENTRY (SIGSYS,       sigsys)
  89.           _EXC_SIG_ENTRY (SIGPIPE,      sigpipe)
  90.           _EXC_SIG_ENTRY (SIGALRM,      sigalrm)
  91.           _EXC_SIG_ENTRY (SIGTERM,      sigterm)
  92.           _EXC_SIG_ENTRY (SIGURG,       sigurg)
  93.           _EXC_SIG_ENTRY (SIGSTOP,      sigstop)
  94.           _EXC_SIG_ENTRY (SIGTSTP,      sigtstp)
  95.           _EXC_SIG_ENTRY (SIGCONT,      sigcont)
  96.           _EXC_SIG_ENTRY (SIGCHLD,      sigchld)
  97.           _EXC_SIG_ENTRY (SIGTTIN,      sigttin)
  98.           _EXC_SIG_ENTRY (SIGTTOU,      sigttou)
  99.           _EXC_SIG_ENTRY (SIGIO,        sigio)
  100.           _EXC_SIG_ENTRY (SIGXCPU,      sigxcpu)
  101.           _EXC_SIG_ENTRY (SIGXFSZ,      sigxfsz)
  102.           _EXC_SIG_ENTRY (SIGVTALRM,    sigvtalrm)
  103.           _EXC_SIG_ENTRY (SIGPROF,      sigprof)
  104.           _EXC_SIG_ENTRY (SIGWINCH,     sigwinch)
  105.           _EXC_SIG_ENTRY (SIGLOST,      siglost)
  106.           _EXC_SIG_ENTRY (SIGUSR1,      sigusr1)
  107.           _EXC_SIG_ENTRY (SIGUSR2,      sigusr2));
  108. #endif
  109.  
  110. #endif /* !_exception_exc_sig_list_h */
  111.