If you need line-by-line processing, use
fgets()
and parse the read line with sscanf()
(if that counts).