2009-04-17

Post date: Apr 17, 2009 6:01:23 PM

    • 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.
    • Basics on extracting bits (see shift.c below).