signal_numbers.h 742 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #define SIGINVAL 0
  8. #define SIGHUP 1
  9. #define SIGINT 2
  10. #define SIGQUIT 3
  11. #define SIGILL 4
  12. #define SIGTRAP 5
  13. #define SIGABRT 6
  14. #define SIGBUS 7
  15. #define SIGFPE 8
  16. #define SIGKILL 9
  17. #define SIGUSR1 10
  18. #define SIGSEGV 11
  19. #define SIGUSR2 12
  20. #define SIGPIPE 13
  21. #define SIGALRM 14
  22. #define SIGTERM 15
  23. #define SIGSTKFLT 16
  24. #define SIGCHLD 17
  25. #define SIGCONT 18
  26. #define SIGSTOP 19
  27. #define SIGTSTP 20
  28. #define SIGTTIN 21
  29. #define SIGTTOU 22
  30. #define SIGURG 23
  31. #define SIGXCPU 24
  32. #define SIGXFSZ 25
  33. #define SIGVTALRM 26
  34. #define SIGPROF 27
  35. #define SIGWINCH 28
  36. #define SIGIO 29
  37. #define SIGINFO 30
  38. #define SIGSYS 31
  39. #define NSIG 32