title: Is there a java equivalent to SIGINT?
body: <p>I was reading <a href="http://programmergamer.blogspot.com/2013/05/clarification-on-sigint-sigterm-sigkill.html" rel="nofollow noreferrer">this post on the difference between SIGINT, SIGTERM, SIGKILL, etc</a> which states:</p>
  <blockquote>
  <p>SIGKILL: Terminates a process immediately. This signal cannot be handled (caught), ignored or blocked. (The &quot;kill -9&quot; command in linux generates the same signal).</p>
  <p>SIGTERM: Terminates a process immediately. However, this signal can be handled, ignored or caught in code. If the signal is not caught by a process, the process is killed. Also, this is used for graceful termination of a process. (The &quot;kill&quot; command in linux if specified without any signal number like -9, will send SIGTERM)</p>
  <p>SIGINT: Interrupts a process. (The default action is to terminate gracefully). This too, like, SIGTERM can be handled, ignored or caught. The difference between SIGINT and SIGTERM is that the former can be sent from a terminal as input characters. This is the signal generated when a user presses Ctrl+C. (Sidenote: Ctrl+C denotes EOT(End of Transmission) for (say) a network stream)</p>
  </blockquote>
  <p>This sounds to me like the java equivalent to <code>SIGKILL</code> is <code>process.destroyForcibly()</code>and the equivalent to <code>SIGTERM</code> is <code>process.destroy()</code>. Please correct me if I'm wrong!</p>
  <p>But is there a java equivalent to <code>SIGINT</code>?</p>