6 * string - string helper routines
8 * This is a grab bag of modules for string operations, designed to enhance
9 * the standard string.h.
12 * #include "string/string.h"
14 * int main(int argc, char *argv[])
16 * if (argv[1] && streq(argv[1], "--verbose"))
17 * printf("verbose set\n");
18 * if (argv[1] && strstarts(argv[1], "--"))
19 * printf("Some option set\n");
20 * if (argv[1] && strends(argv[1], "cow-powers"))
21 * printf("Magic option set\n");
25 int main(int argc, char *argv[])
30 if (strcmp(argv[1], "depends") == 0) {
31 printf("ccan/talloc\n");