I'm playing around with mkstemp(), which provides a file descriptor, but I want to generate formatted output via fprintf(). Is there an easy way to transform the file descriptor provided ...
I want to know the difference between a file descriptor and file pointer.
Also, in what scenario would you use one instead of the other?
What's the difference between a file descriptor and file pointer?
FILE *fp = fopen("mr32.txr","r");