Read line from file, keeping newline characters
tline
does not include any characters after the newline
characters or the end-of-file marker.
fgets
reads characters using the encoding scheme
associated with the file. To specify the encoding scheme, use
fopen
.