- definitions of helper functions not specified by the standard (hidden in the
_PDCLIB_* namespace);
-- definitions of data objects, both internal (like digits.c) and specified by
- the standard (errno.c);
+- definitions of data objects, both internal (like _PDCLIB_digits) and specified by
+ the standard (errno);
- test drivers for functionality that does not have its own implementation
file to put the test driver in.
-/* _PDCLIB_exit( int )
+/* _PDCLIB_Exit( int )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
-/* _PDCLIB_exit( int )
+/* _PDCLIB_Exit( int )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
-/* _PDCLIB_allocpages( int const )
+/* _PDCLIB_freepages( void *, size_t )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
-/* _PDCLIB_exit( int )
+/* _PDCLIB_Exit( int )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
-/* This is an example implementation of _PDCLIB_exit() fit for use with POSIX
- kernels.
-*/
-
#include <stdlib.h>
#ifndef REGTEST
-/* _PDCLIB_allocpages( int const )
+/* _PDCLIB_allocpages( size_t )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
-/* This is an example implementation of _PDCLIB_allocpages() (declared in
- _PDCLIB_config.h), fit for use with POSIX kernels.
-*/
-
#ifndef REGTEST
#ifdef __linux__
#define _GNU_SOURCE
Permission is granted to use, modify, and / or redistribute at will.
*/
-/* This is an example implementation of _PDCLIB_allocpages() (declared in
- _PDCLIB_config.h), fit for use with POSIX kernels.
-*/
-
#ifndef REGTEST
#include <stdint.h>
#include <stddef.h>
-/* _PDCLIB_exit( int )
+/* _PDCLIB_Exit( int )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
-/* This is a stub implementation of _PDCLIB_Exit
-*/
-
#include <stdlib.h>
#ifndef REGTEST
-/* _PDCLIB_allocpages( int const )
+/* _PDCLIB_allocpages( size_t )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
-/* This is a stub implementation of _PDCLIB_allocpages
-*/
-
#ifndef REGTEST
#include <stdint.h>
#include <stddef.h>
Permission is granted to use, modify, and / or redistribute at will.
*/
-/* This is a stub implementation of _PDCLIB_allocpages
+/* This is a stub implementation of _PDCLIB_freepages.
*/
#include <stdint.h>
Permission is granted to use, modify, and / or redistribute at will.
*/
-/* This is a stub implementation of open.
-*/
-
#include <stdio.h>
#include <errno.h>
+/* _PDCLIB_runTlsCallbacks( void *, DWORD, PVOID )
+
+ This file is part of the Public Domain C Library (PDCLib).
+ Permission is granted to use, modify, and / or redistribute at will.
+*/
+
#include <stddef.h>
#include <windows.h>
return TEST_RESULTS;
}
-#endif
\ No newline at end of file
+#endif
-/* _PDCLIB_allocpages( int const )
+/* _PDCLIB_w32errno( void )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
-/* This is a stub implementation of _PDCLIB_allocpages
-*/
-
#ifndef REGTEST
#include <errno.h>
#include <wchar.h> // Watcom bug: winnt.h assumes string.h defines wchar_t
+/* _tls_used
+
+ This file is part of the Public Domain C Library (PDCLib).
+ Permission is granted to use, modify, and / or redistribute at will.
+*/
+
#ifndef REGTEST
#include <stddef.h>
#include <stdint.h>
return TEST_RESULTS;
}
-#endif
\ No newline at end of file
+#endif