mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
28 lines
643 B
C
28 lines
643 B
C
|
/* $Id: strerror.c,v 1.4 2002/10/29 04:45:43 rex Exp $
|
||
|
*/
|
||
|
/*
|
||
|
* COPYRIGHT: See COPYING in the top level directory
|
||
|
* PROJECT: ReactOS POSIX+ Subsystem
|
||
|
* FILE: subsys/psx/lib/psxdll/string/strerror.c
|
||
|
* PURPOSE: Get error message string
|
||
|
* PROGRAMMER: KJK::Hyperion <noog@libero.it>
|
||
|
* UPDATE HISTORY:
|
||
|
* 20/01/2002: Created
|
||
|
*/
|
||
|
|
||
|
#include <errno.h>
|
||
|
#include <string.h>
|
||
|
#include <psx/debug.h>
|
||
|
|
||
|
static char *__errstr = "<strerror() unsupported>";
|
||
|
char *strerror(int errnum)
|
||
|
{
|
||
|
INFO("errnum %#x", errnum);
|
||
|
TODO("getting error string not currently implemented");
|
||
|
errno = EINVAL;
|
||
|
return (__errstr);
|
||
|
}
|
||
|
|
||
|
/* EOF */
|
||
|
|