// staticdata.dev — posixSignals
// Generated file. Do not edit by hand.
// SPDX-License-Identifier: MIT

export const posixSignals = [
  {
    "name": "SIGHUP",
    "number": 1,
    "defaultAction": "Terminate",
    "description": "Hangup detected on controlling terminal or death of controlling process. Often used to tell daemons to reload configuration.",
    "catchable": true
  },
  {
    "name": "SIGINT",
    "number": 2,
    "defaultAction": "Terminate",
    "description": "Interrupt from keyboard (Ctrl+C).",
    "catchable": true
  },
  {
    "name": "SIGQUIT",
    "number": 3,
    "defaultAction": "Core",
    "description": "Quit from keyboard (Ctrl+\\); terminates and dumps core.",
    "catchable": true
  },
  {
    "name": "SIGILL",
    "number": 4,
    "defaultAction": "Core",
    "description": "Illegal instruction.",
    "catchable": true
  },
  {
    "name": "SIGTRAP",
    "number": 5,
    "defaultAction": "Core",
    "description": "Trace/breakpoint trap, used by debuggers.",
    "catchable": true
  },
  {
    "name": "SIGABRT",
    "number": 6,
    "defaultAction": "Core",
    "description": "Abort signal, raised by abort().",
    "catchable": true
  },
  {
    "name": "SIGBUS",
    "number": 7,
    "defaultAction": "Core",
    "description": "Bus error (bad memory access / unaligned access).",
    "catchable": true
  },
  {
    "name": "SIGFPE",
    "number": 8,
    "defaultAction": "Core",
    "description": "Erroneous arithmetic operation, such as division by zero.",
    "catchable": true
  },
  {
    "name": "SIGKILL",
    "number": 9,
    "defaultAction": "Terminate",
    "description": "Kill signal. Cannot be caught, blocked, or ignored.",
    "catchable": false
  },
  {
    "name": "SIGUSR1",
    "number": 10,
    "defaultAction": "Terminate",
    "description": "User-defined signal 1.",
    "catchable": true
  },
  {
    "name": "SIGSEGV",
    "number": 11,
    "defaultAction": "Core",
    "description": "Invalid memory reference (segmentation fault).",
    "catchable": true
  },
  {
    "name": "SIGUSR2",
    "number": 12,
    "defaultAction": "Terminate",
    "description": "User-defined signal 2.",
    "catchable": true
  },
  {
    "name": "SIGPIPE",
    "number": 13,
    "defaultAction": "Terminate",
    "description": "Broken pipe: write to a pipe with no readers.",
    "catchable": true
  },
  {
    "name": "SIGALRM",
    "number": 14,
    "defaultAction": "Terminate",
    "description": "Timer signal from alarm().",
    "catchable": true
  },
  {
    "name": "SIGTERM",
    "number": 15,
    "defaultAction": "Terminate",
    "description": "Termination signal. The polite, catchable request to shut down.",
    "catchable": true
  },
  {
    "name": "SIGSTKFLT",
    "number": 16,
    "defaultAction": "Terminate",
    "description": "Stack fault on coprocessor (Linux-only, unused).",
    "catchable": true
  },
  {
    "name": "SIGCHLD",
    "number": 17,
    "defaultAction": "Ignore",
    "description": "Child process stopped or terminated.",
    "catchable": true
  },
  {
    "name": "SIGCONT",
    "number": 18,
    "defaultAction": "Continue",
    "description": "Continue if stopped.",
    "catchable": true
  },
  {
    "name": "SIGSTOP",
    "number": 19,
    "defaultAction": "Stop",
    "description": "Stop process. Cannot be caught, blocked, or ignored.",
    "catchable": false
  },
  {
    "name": "SIGTSTP",
    "number": 20,
    "defaultAction": "Stop",
    "description": "Stop typed at terminal (Ctrl+Z).",
    "catchable": true
  },
  {
    "name": "SIGTTIN",
    "number": 21,
    "defaultAction": "Stop",
    "description": "Background process attempting to read from terminal.",
    "catchable": true
  },
  {
    "name": "SIGTTOU",
    "number": 22,
    "defaultAction": "Stop",
    "description": "Background process attempting to write to terminal.",
    "catchable": true
  },
  {
    "name": "SIGURG",
    "number": 23,
    "defaultAction": "Ignore",
    "description": "Urgent condition on socket (out-of-band data).",
    "catchable": true
  },
  {
    "name": "SIGXCPU",
    "number": 24,
    "defaultAction": "Core",
    "description": "CPU time limit exceeded.",
    "catchable": true
  },
  {
    "name": "SIGXFSZ",
    "number": 25,
    "defaultAction": "Core",
    "description": "File size limit exceeded.",
    "catchable": true
  },
  {
    "name": "SIGVTALRM",
    "number": 26,
    "defaultAction": "Terminate",
    "description": "Virtual alarm clock (virtual timer expired).",
    "catchable": true
  },
  {
    "name": "SIGPROF",
    "number": 27,
    "defaultAction": "Terminate",
    "description": "Profiling timer expired.",
    "catchable": true
  },
  {
    "name": "SIGWINCH",
    "number": 28,
    "defaultAction": "Ignore",
    "description": "Window resize signal (terminal size changed).",
    "catchable": true
  },
  {
    "name": "SIGIO",
    "number": 29,
    "defaultAction": "Terminate",
    "description": "I/O now possible (asynchronous I/O); also SIGPOLL.",
    "catchable": true
  },
  {
    "name": "SIGPWR",
    "number": 30,
    "defaultAction": "Terminate",
    "description": "Power failure.",
    "catchable": true
  },
  {
    "name": "SIGSYS",
    "number": 31,
    "defaultAction": "Core",
    "description": "Bad system call.",
    "catchable": true
  }
] as const;

export type PosixSignal = (typeof posixSignals)[number];
