Does C allow opening two files read only?
Title is pretty much self-explanatory. I googled on the web and SO, and not found a satisfactory enough answ开发者_运维知识库er. Example:
FILE* oneFile = fopen( file, someflags);
FILE* sameFile = fopen( file, someflags);
C has nothing to do with it. It's all about your operating system underneath. C has no opinion.
精彩评论