I want to use a secure version of sprintf.
Microsoft's Visual Studio suggests that I use sprintf_s instead.

In my case, however I want to develop in QtCreator with mingw.
My Windows installation contains a file called stdio_s.h. It's installed in
Qt Code:
  1. C:\Qt\Qt5.3.1\Tools\mingw482_32\i686-w64-mingw32\include\sec_api\stdio_s.h
To copy to clipboard, switch view to plain text mode 
If I type
#include <stdio_s.h>
the QtCreator environment underlines it in green, the usual way of indicating that this is not defined.
Yet the same environment got me to stdio_s.h when I typed sprintf_s and chose "Follow Symbol Under Cursor" with the right-click popup menu.
Things go better if I type
Qt Code:
  1. #include <sec_api/stdio_s.h>
To copy to clipboard, switch view to plain text mode 

Is this version of sprintf_s very similar to the one provided by Microsoft?