]> pd.if.org Git - pdclib/blob - platform/example/functions/_PDCLIB/allocpages.c
Activated Tyndur tests for _PDCLIB_print().
[pdclib] / platform / example / functions / _PDCLIB / allocpages.c
1 /* _PDCLIB_allocpages( int const )
2
3    This file is part of the Public Domain C Library (PDCLib).
4    Permission is granted to use, modify, and / or redistribute at will.
5 */
6
7 /* This is a stub implementation of _PDCLIB_allocpages
8 */
9
10 #include <stdint.h>
11 #include <stddef.h>
12 #include "_PDCLIB_glue.h"
13 #include <errno.h>
14
15 void * _PDCLIB_allocpages( size_t n )
16 {
17     errno = ENOTSUP;
18     return NULL;
19 }
20
21 #ifdef TEST
22 #include "_PDCLIB_test.h"
23
24 int main( void )
25 {
26     return TEST_RESULTS;
27 }
28
29 #endif