home *** CD-ROM | disk | FTP | other *** search
/ MacGames Sampler / PHT MacGames Bundle.iso / MacSource Folder / Samples from the CD / Editors / emacs / Emacs-1.14b1-sources / sources / misc-headers / signal.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-14  |  910 b   |  42 lines  |  [TEXT/EMAC]

  1. /*
  2.  * This file is part of a Macintosh port of GNU Emacs.
  3.  * Copyright (C) 1993, 1994 Marc Parmet.  All rights reserved.
  4.  *
  5.  * GNU Emacs is distributed in the hope that it will be useful,
  6.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  7.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  8.  * GNU General Public License for more details.
  9.  */
  10.  
  11. #ifndef __SIGNAL__
  12. #define __SIGNAL__
  13.  
  14. #define SIG_DFL        ((int (*)()) 0)
  15. #define SIG_ERR        ((int (*)()) -1)
  16. #define SIG_IGN        ((int (*)()) 1)
  17.  
  18. #define WNOHANG        1
  19.  
  20. #define SIGABRT        1
  21. #define SIGFPE        2
  22. #define SIGILL        3
  23. #define SIGINT        4
  24. #define SIGSEGV        5
  25. #define SIGTERM        6
  26. #define SIGHUP        7
  27. #define SIGKILL        8
  28. #define SIGALRM        9
  29. #define SIGQUIT        10
  30. #define SIGTRAP        11
  31. #define SIGIOT        12
  32. #define SIGBUS        13
  33. #define SIGSYS        14
  34. #define SIGPIPE        15
  35. #define SIGCHLD        16
  36. #define NSIG        16
  37.  
  38. int (*signal(int,int (*)()))();
  39. int raise(int);
  40.  
  41. #endif
  42.