1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #include <stdio.h> 7 8 _CRTIMP char *_sys_errlist[]; 9 main(int argc,char ** argv)10int main(int argc, char **argv) 11 { 12 char **s = (char **) _sys_errlist; 13 if (s) printf ("Msg 0: %s\n", s[0]); 14 else printf ("Error list empty.\n"); 15 return 0; 16 } 17