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);
12 void perror(const char *s)
15 fprintf(stderr, "%s: %s\n", s, _strerror(NULL));