C File Operations: Check opened file pointer access mode

前端 未结 3 1492
慢半拍i
慢半拍i 2021-01-18 14:40

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:



        
3条回答
提交回复
热议问题