5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
13 /* TODO: Doing this via a static array is not the way to do it. */
14 char * strerror( int errnum )
16 return (char *)_PDCLIB_errno_texts[ errnum ];
22 #include <_PDCLIB_test.h>
29 TESTCASE( strerror( ERANGE ) != strerror( EDOM ) );