We can get a file descriptor from a FILE* stream by using the fileno() function. Is there a function for getting a FILE* stream from the file descriptor without reopening the file?
We can get a file descriptor from a FILE* stream by using the fileno()
Share
See
fdopen(3), but it should be on the same page asfopen(3):