aboutsummaryrefslogtreecommitdiff
path: root/ch5/5-13_tail.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2013-10-18Solve Exercise 5-13: tailzlg1-0/+106
This exercise was somewhat irritating until I caved and used the code in section 5.6 like the exercise suggested. The solution is not what I think is clean, but given that [mc]*alloc haven't been covered yet, it's probably the best one can muster. Once I used the code in ยง5.6, the program fell into place. Still, it was a neat exercise.