LIU Hao wrote:

Side note: I am a bit curious how this function is supposed to be useful. Generally speaking `get()` should never be used.

__gets_chk() may (only) be useful to fortify very old code.

From the C/C++ standards point of view, the gets() prototype should be disabled if C11 or C++14 is enabled:

https://en.cppreference.com/w/c/io/gets
https://en.cppreference.com/w/cpp/io/c/gets



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to