Why can't I use fopen?
In the mold of a previous question I asked about the so-called safe library deprecations , I find myself similarly bemused as to why fopen() should be deprecated. The function takes two C strings, and returns a FILE* ptr, or NULL on failure. Where are the thread-safety problems / string overrun problems? Or is it something else? Thanks in advance There is an official ISO/IEC JTC1/SC22/WG14 (C Language) technical report TR24731-1 (bounds checking interfaces) and its rationale available at: http://www.open-std.org/jtc1/sc22/wg14 There is also work towards TR24731-2 (dynamic allocation functions)