Check how you built your library, because my library doesn't contain any predefined fopen, nor is there any predefined fopen in the source code.
Seems to me like you produced an executable rather than a library.
Check how you built your library, because my library doesn't contain any predefined fopen, nor is there any predefined fopen in the source code.
Seems to me like you produced an executable rather than a library.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.