[an error occurred while processing this directive]
|
includeunsigned char xdata malloc_mempool [0x1000];
void tst_init_mempool (void) {
int i;
void *p;init_mempool (&malloc_mempool, sizeof(malloc_mempool));
p = malloc (100);
for (i = 0; i < 100; i++)
((char *) p)[i] = i;free (p);
}
E-mail: info@telesys.ru