Resuscitate POSIX subsystem from revision 21378.
[reactos.git] / rossubsys / posix / lib / psxdll / string / strerror.c
1 /* $Id: strerror.c,v 1.4 2002/10/29 04:45:43 rex Exp $
2 */
3 /*
4 * COPYRIGHT: See COPYING in the top level directory
5 * PROJECT: ReactOS POSIX+ Subsystem
6 * FILE: subsys/psx/lib/psxdll/string/strerror.c
7 * PURPOSE: Get error message string
8 * PROGRAMMER: KJK::Hyperion <noog@libero.it>
9 * UPDATE HISTORY:
10 * 20/01/2002: Created
11 */
12
13 #include <errno.h>
14 #include <string.h>
15 #include <psx/debug.h>
16
17 static char *__errstr = "<strerror() unsupported>";
18 char *strerror(int errnum)
19 {
20 INFO("errnum %#x", errnum);
21 TODO("getting error string not currently implemented");
22 errno = EINVAL;
23 return (__errstr);
24 }
25
26 /* EOF */
27