![]() | ![]() | ![]() | Gnome XML Library Reference Manual | ![]() |
---|
testOOMlib —
void* test_malloc (size_t bytes); void* test_realloc (void *memory,size_t bytes); void test_free (void *memory); char* test_strdup (const char *str); int (*TestMemoryFunction) (void *data); int test_oom_handling (TestMemoryFunction func, void *data); int test_get_malloc_blocks_outstanding (void);
int test_oom_handling (TestMemoryFunction func, void *data);
Tests how well the given function responds to out-of-memory
situations. Calls the function repeatedly, failing a different
call to
func: | function to call |
data: | data to pass to function |
Returns : |
<< Libxml Programming Notes | wincecompat >> |