testing code from the book

I copied a section of code out of the CS 311 book (the linux programming
interface) on page 283
added more in header

This is did not help me understand what was written in the text book
Reverted back to when uploaded

same code as the
http://web.engr.oregonstate.edu/cgi-bin/cgiwrap/dmcgrath/classes/13W/cs311/index.cgi?examples=examples/reverse.c
Tried to add file size print out

I added File size printout but it did not work.
reverted changes by delete

I deleted what I just added