We have to use Unix system calls to read something from file, and write it to screen
Now...
http://www.softpanorama.org/Internal...em_calls.shtml
iint read(int fd, char *buf, int nbytes);
int write(int fd, char *buf, int nbytes);
I understand opening a file with "int fd" and giving that to read.
But... How do we make write() work if we want to print to screen? What do we give as the first argument to write()? (Because there is no file I want to write to)