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