title: Reading from stdin into a FILE*
body: <p>I have a functions that expects a FILE* and I usually create that by reading from a file. Now under certain circumstances I want to read from stdin. Is there a way to read a sentence with previously unspecified length from stdin and write it into a FILE* ? </p>