UNIX Signals

From Naming Schemes
Jump to navigation Jump to search

This list was taken from <sys/signal.h> on FreeBSD 7.1-RELEASE, but should be common to any POSIX system

  • SIGHUP (hangup)
  • SIGINT (interrupt)
  • SIGQUIT (quit)
  • SIGILL (illegal instruction)
  • SIGTRAP (trace trap)
  • SIGABRT (abort())'
  • SIGIOT (another name for SIGABRT; for compatibility)
  • SIGEMT (EMT instruction)
  • SIGFPE (floating point exception)
  • SIGKILL (kill - cannot be caught or ignored - of the infamous 'kill -9')
  • SIGBUS (bus error)
  • SIGSEGV (segmentation violation / segfault)
  • SIGSYS (non-existent system call invoked)
  • SIGPIPE (write on a pipe with no one to read it)
  • SIGALRM (alarm clock)
  • SIGTERM (software termination signal; use this before SIGKILL)
  • SIGURG (urgent condition on IO channel)
  • SIGSTOP (sendable stop signal NOT from TTY)
  • SIGTSTP (stop signal from tty)
  • SIGCONT (continue a stopped process)
  • SIGCHLD (to parent, on child stop or exit)
  • SIGTTIN (to readers process group upon background tty read)
  • SIGIO (input/output possible signal)
  • SIGXCPU (exceeded CPU time limit)
  • SIGXFSZ (exceeded file size limit)
  • SIGVTALRM (virtual time alarm)
  • SIGPROF (profiling time alarm)
  • SIGWINCH (window size changes)
  • SIGINFO (information request)
  • SIGUSR1 (user defined signal 1)
  • SIGUSR2 (user defined signal 2)
  • SIGTHR (reserved by threading library)