foo.c
307 Bytes
#include <stdio.h>
#include <stdlib.h>
#include "trbase.h"
int
main (int argc, char * argv[])
{
void * foo = TR_malloc(strtol(argv[1], NULL, 10));
printf("idx: %d / size: %zd / usable_size: %zd\n",
TR_getIdx(foo),
TR_getSize(foo),
TR_getUsableSize(foo));
return 0;
}
// vim: set ts=4 sw=4: