5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
15 static int _PDCLIB_errno = 0;
17 int * _PDCLIB_errno_func()
19 return &_PDCLIB_errno;
25 #include <_PDCLIB_test.h>
30 TESTCASE( errno == 0 );
32 TESTCASE( errno == EDOM );
34 TESTCASE( errno == ERANGE );