1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2 #include <msvcrt/stdio.h>
3 #include <msvcrt/string.h>
4 #include <msvcrt/errno.h>
9 void perror(const char *s);
15 void perror(const char *s)
17 fprintf(stderr, "%s: %s\n", s, _strerror(NULL));
23 void _wperror(const wchar_t *s)
25 fwprintf(stderr, L"%s: %S\n", s, _strerror(NULL));