]> pd.if.org Git - pdclib.old/blobdiff - internals/_PDCLIB_int.h
errno: parts of old errno system were left in _PDCLIB_int.h
[pdclib.old] / internals / _PDCLIB_int.h
index 9ff9e69e321b3a1809747449bed85d697984e1ed..0c48f33755a6c2e728a329a28f4b464bffcd6a44 100644 (file)
@@ -309,22 +309,6 @@ _PDCLIB_uintmax_t _PDCLIB_strtox_main( const char ** p, unsigned int base, _PDCL
 extern char _PDCLIB_digits[];
 extern char _PDCLIB_Xdigits[];
 
-/* -------------------------------------------------------------------------- */
-/* errno                                                                      */
-/* -------------------------------------------------------------------------- */
-
-/* If PDCLib would call its error number "errno" directly, there would be no way
-   to catch its value from underlying system calls that also use it (i.e., POSIX
-   operating systems). That is why we use an internal name, providing a means to
-   access it through <errno.h>.
-*/
-extern int _PDCLIB_errno;
-
-/* A mechanism for delayed evaluation. (Not sure if this is really necessary, so
-   no detailed documentation on the "why".)
-*/
-int * _PDCLIB_errno_func( void ) _PDCLIB_nothrow;
-
 /* -------------------------------------------------------------------------- */
 /* locale / wchar / uchar                                                     */
 /* -------------------------------------------------------------------------- */