For my OS class I\'m supposed to implement Linux\'s cat using only system calls (no printf)
Reading this reference I found it being used to print to a file. I guess I sh
Your reference is incorrect. It's part of C++ and has nothing to do with your assignment. The correct reference is http://www.opengroup.org/onlinepubs/9699919799/functions/write.html