blob: bff2d7f21b65f049065be97622221f4693947a93 [file]
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
char **s = (char **) _sys_errlist;
if (s) {
printf ("Msg 0: %s\n", s[0]);
} else {
printf ("Error list empty.\n");
_exit (EXIT_FAILURE);
}
return 0;
}