title: Force a core to dump from an active, normally running program on FreeBSD
body: <p>I'm writing error handling code for a server on FreeBSD.  For extremely serious errors I want to avoid data corruption by immediately terminating.  That's easy, <code>exit(3)</code>.  Before I exit, I output my relevant variables that led me there.  However, ideally, this termination would be accompanied by a <code>.core</code> so that I could fully investigate what got me to this catastrophic (and likely hard to reproduce) state.</p>
  
  <p>How can I force this to happen?</p>