aboutsummaryrefslogtreecommitdiff
path: root/ch1/1-06_eof-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'ch1/1-06_eof-test.c')
0 files changed, 0 insertions, 0 deletions
completely rewritten solution which follows the spec given in the book exactly; make the program work for arbitrarily long input lines while modifying `main()` only. I've only changed the name of the macro MAXLINE to BUFFSIZE for clarity - otherwise the code is typed up exactly as found in the book. It demonstrates the use of a buffer without modifying any of the helper functions.