A simple question:
How do I check the access mode of an already opened file pointer?
So say a function is passed an already opened FILE pointer:
There is no standard way to achieve that.