title: Force scanf to consume newline
body: <p>I have a program that reads data from <code>stdin</code>. This data is a sequence of bytes. If there is a byte describing a new line in it (in hex: 0x0A), <code>scanf</code> stops reading.</p>
  
  <p>Can I mask this byte, so that <code>scanf</code> continues to read the whole sequence?</p>
  
  <p>It is important that the memory, that is written by <code>scanf</code> contains the newline-byte.</p>