title: Any cool function to replace readln from pascal in ansi c?
body: <p>The readln reads until the end of line (enter pressed) with spaces and everything,</p>
  
  <p>I would like something like that but for ansi c (not c++ and need to be for linux and windows)</p>
  
  <p>I know that I can make a function that reads every char until the enter pressed but If there is anything cooler it would be great =D</p>
  
  <p>Thanks!</p>