title: How to read from keyboard when stdin is set to a file in C
body: <p>I think this is simple, but not for me obviously!</p>
  
  <p>I have a console-application. I need to read input from the keyboard, but <code>stdin</code> has been redirected to a file. So how do I create a FILE-Handle that points at the keyboard-stream which i can use with <code>fgets</code> etc.? </p>
  
  <p>I found out that <code>ttyname(0)</code> seems to be what i look for in a POSIX-environment, which I don't have here. I'm in a Windows-system with standard Visual Studio compiler.</p>
  
  <p>Any ideas? Thank you in advance.</p>