signal.tem 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 2001 by Free Pascal development team
  5. This file implements all the types/constants which must
  6. be defined to port FPC to a new POSIX compliant OS.
  7. This defines all signal related types and constants.
  8. See the file COPYING.FPC, included in this distribution,
  9. for details about the copyright.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. **********************************************************************}
  14. type
  15. sigset_t =; { used for additional signal }
  16. sighandler_t = procedure (signo: cint); cdecl;
  17. { signal services }
  18. sigactionrec = packed record
  19. end;
  20. const
  21. {************************ signals *****************************}
  22. { more can be provided. Herein are only included the required }
  23. { values. }
  24. {**************************************************************}
  25. SIGABRT = ; { abnormal termination }
  26. SIGALRM = ; { alarm clock (used with alarm() }
  27. SIGFPE = ; { illegal arithmetic operation }
  28. SIGHUP = ; { Hangup }
  29. SIGILL = ; { Illegal instruction }
  30. SIGINT = ; { Interactive attention signal }
  31. SIGKILL = ; { Kill, cannot be caught }
  32. SIGPIPE = ; { Broken pipe signal }
  33. SIGQUIT = ; { Interactive termination signal }
  34. SIGSEGV = ; { Detection of invalid memory reference }
  35. SIGTERM = ; { Termination request }
  36. SIGUSR1 = ; { Application defined signal 1 }
  37. SIGUSR2 = ; { Application defined signal 2 }
  38. SIGCHLD = ; { Child process terminated / stopped }
  39. SIGCONT = ; { Continue if stopped }
  40. SIGSTOP = ; { Stop signal. cannot be cuaght }
  41. SIGSTP = ; { Interactive stop signal }
  42. SIGTTIN = ; { Background read from TTY }
  43. SIGTTOU = ; { Background write to TTY }
  44. SIGBUS = ; { Access to undefined memory }
  45. {
  46. $Log$
  47. Revision 1.3 2002-09-07 16:01:26 peter
  48. * old logs removed and tabs fixed
  49. Revision 1.2 2002/08/10 13:42:36 marco
  50. * Fixes Posix dir copied to devel branch
  51. }