...
The ISO/IEC 9899-1999 C standard function fopen()
is typically used to open an existing file, and or create a new filesone. However, fopen()
does not provide a way to test file existence potentially allowing a program to overwrite or access and unintended file.
...