3 * This is a test program which calls strtokdup() directly.
10 #include "libmallocab.h"
11 #include "libstrtokdup.h"
14 int main(int argc
, char** argv
)
16 char* t
= strtokdup(argv
[1], atoi(argv
[2]));
17 printf("strtokdup('%s', %d) -> '%s'\n", argv
[1], atoi(argv
[2]), t
);