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