title: How to capture Control+D signal?
body: <p>I want to capture the <kbd>Ctrl</kbd>+<kbd>D</kbd> signal in my program and write a signal handler for it.
  How can I do that?
  I am working on <em>C</em> and using a <em>Linux</em> system.</p>