tony11235
October 29th, 2007, 10:49 PM
In my OS class, we have to write a basic unix shell, i'm working on redirection, so that means working with dup2, open, etc. I'm familiar with fopen() and freopen(), but never used open(). And the compiler (g++) is complaining about it not being declared. Which header is it contained in? I thought it was contained in <sys/types.h>, but apparently not.