Reading a line and rewinding file pointer in stdio.h; see rrcat.c (round-robin cat) below. Given a list of files in the command line, read a line from each of them in round robin order and continues indefinitely. If a file hits the end of file, rewind to the first line.