============================================================ Exercise 8.1 - program cat using read, write, open and close ============================================================ Question ======== Rewrite the program cat from Chapter 7 using read, write, open, and close instead of their standard library equivalents. Perform experiments to determine the relative speeds of the two versions. .. literalinclude:: cprogs/ex_8.1_mycat.c :language: c Explanation =========== This is custom implementation of `cat` program using read/write/open/close function calls instead of the standard library ones.