I have a FILE *, returned by a call to fopen(). I need to get a file descriptor from it, to make calls like fsync(fd) on it. What’s the function to get a file descriptor from a file pointer?

3 Answers
3

Leave a Reply

Your email address will not be published. Required fields are marked *