Return to test_mem.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libaitsess / contrib |
1.1.2.1 ! misho 1: #include <stdio.h> ! 2: #include <aitsess.h> ! 3: ! 4: ! 5: int ! 6: main(int argc, char **argv) ! 7: { ! 8: mpool_t *mp; ! 9: ! 10: mp = mpool_init(); ! 11: if (!mp) { ! 12: printf("Error:: #%d - %s\n", sess_GetErrno(), sess_GetError()); ! 13: return 1; ! 14: } ! 15: ! 16: mpool_destroy(&mp); ! 17: return 0; ! 18: }