mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-08 20:30:10 +00:00
12 lines
225 B
C++
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);
|
||
|
}
|