- Cleanup the /lib directory, by putting more 3rd-party libs in /3rdparty, and by...
[reactos.git] / reactos / lib / sdk / crt / stdio / perror.c
1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2 #include <precomp.h>
3
4 #ifdef perror
5 #undef perror
6 void perror(const char *s);
7 #endif
8
9 /*
10 * @implemented
11 */
12 void perror(const char *s)
13 {
14 fprintf(stderr, "%s: %s\n", s, _strerror(NULL));
15 }
16
17 /*
18 * @implemented
19 */
20 void _wperror(const wchar_t *s)
21 {
22 fwprintf(stderr, L"%s: %S\n", s, _strerror(NULL));
23 }