mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 12:35:57 +00:00
now introducing the POSIX+ client DLL! (my first check-in, hope I don't f*** up something)
svn path=/trunk/; revision=2634
This commit is contained in:
parent
4e9d91b819
commit
ad8ae0a2f5
43 changed files with 4239 additions and 0 deletions
27
posix/lib/psxdll/string/strerror.c
Normal file
27
posix/lib/psxdll/string/strerror.c
Normal file
|
@ -0,0 +1,27 @@
|
|||
/* $Id:
|
||||
*/
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* 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 */
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue