mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
11 lines
239 B
C++
11 lines
239 B
C++
#include <string.h>
|
|
|
|
int main()
|
|
{
|
|
// We can't test "char *p = strerror_r()" because that only causes a
|
|
// compiler warning when strerror_r returns an integer.
|
|
char *buf = 0;
|
|
int i = strerror_r(0, buf, 100);
|
|
return i;
|
|
}
|