syscall.go 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // +build !windows
  2. package syscall
  3. import (
  4. gosyscall "syscall"
  5. )
  6. // Signals
  7. const (
  8. SIGABRT = gosyscall.Signal(0x6)
  9. SIGALRM = gosyscall.Signal(0xe)
  10. SIGBUS = gosyscall.Signal(0x7)
  11. SIGCHLD = gosyscall.Signal(0x11)
  12. SIGCLD = gosyscall.Signal(0x11)
  13. SIGCONT = gosyscall.Signal(0x12)
  14. SIGFPE = gosyscall.Signal(0x8)
  15. SIGHUP = gosyscall.Signal(0x1)
  16. SIGILL = gosyscall.Signal(0x4)
  17. SIGINT = gosyscall.Signal(0x2)
  18. SIGIO = gosyscall.Signal(0x1d)
  19. SIGIOT = gosyscall.Signal(0x6)
  20. SIGKILL = gosyscall.Signal(0x9)
  21. SIGPIPE = gosyscall.Signal(0xd)
  22. SIGPOLL = gosyscall.Signal(0x1d)
  23. SIGPROF = gosyscall.Signal(0x1b)
  24. SIGPWR = gosyscall.Signal(0x1e)
  25. SIGQUIT = gosyscall.Signal(0x3)
  26. SIGSEGV = gosyscall.Signal(0xb)
  27. SIGSTKFLT = gosyscall.Signal(0x10)
  28. SIGSTOP = gosyscall.Signal(0x13)
  29. SIGSYS = gosyscall.Signal(0x1f)
  30. SIGTERM = gosyscall.Signal(0xf)
  31. SIGTRAP = gosyscall.Signal(0x5)
  32. SIGTSTP = gosyscall.Signal(0x14)
  33. SIGTTIN = gosyscall.Signal(0x15)
  34. SIGTTOU = gosyscall.Signal(0x16)
  35. SIGUNUSED = gosyscall.Signal(0x1f)
  36. SIGURG = gosyscall.Signal(0x17)
  37. SIGUSR1 = gosyscall.Signal(0xa)
  38. SIGUSR2 = gosyscall.Signal(0xc)
  39. SIGVTALRM = gosyscall.Signal(0x1a)
  40. SIGWINCH = gosyscall.Signal(0x1c)
  41. SIGXCPU = gosyscall.Signal(0x18)
  42. SIGXFSZ = gosyscall.Signal(0x19)
  43. )