Is there any difference between the vsnprintf function under xcode and the vsnprintf of other platforms?
I wrote a very simple test code to test vsnprintf, but in xcode and visual studio environment, the results are very different. The test code is as follows: #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string.h> #include <cstdarg> void p(const char* fmt,…