I was curious as to what the difference is between a FILE * stream (which fclose closes) and an int fd (which close closes).
And also, is there a problem with opening a pipe using fopen, I am currently using open(because that's what all the tutorials used) but they never said it was required, I would like to use io operators that work on FILE * streams, but I'm dealing with two different data types, are there any other files where it makes a difference whether you open them using fopen and work with a FILE * stream or open them using open and work with an int fd?
Thanks,
Ian (: