ANSI 4.9.2 Whether the last line of a text stream requires a terminating newline character
Stream functions recognize either new line or end of file as the terminating character for a line.