update for HEAD-2003021201
[reactos.git] / lib / crtdll / stdio / perror.c
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>
5
6
7 #ifdef perror
8 #undef perror
9 void perror(const char *s);
10 #endif
11
12 void perror(const char *s)
13 {
14  
15   fprintf(stderr, "%s: %s\n", s, _strerror(NULL));
16 }