ZeroTierOne/ext/libpqxx-7.7.3/config-tests/strerror_s.cxx
2022-06-24 10:12:36 -07:00

12 lines
225 B
C++

// Test for strerror_s, as defined in Windows and C11.
// Presumably this'll be part of the C++ standard some day.
#include <cstring>
int main()
{
using namespace std;
char buf[200];
return strerror_s(buf, 200, 1);
}