Throttler.pm dependencies
[hband-tools.git] / ssh-groupcommand / t_strtokdup.c
blobae8e9e7be238e6fbe4d42a0b938bb0bdda98549b
2 /*
3 * This is a test program which calls strtokdup() directly.
4 */
6 #include <string.h>
7 #include <stdlib.h>
8 #include <stdio.h>
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);
18 free(t);
19 return 0;