]> git.ozlabs.org Git - ccan/blobdiff - ccan/tal/str/_info
tal/str: use tal_ prefix.
[ccan] / ccan / tal / str / _info
index 24229bca287a09511a70b7ecd876071b91ef623a..f95fc10eb8d35426ab7ebb384759413a01340544 100644 (file)
  *             textfile = grab_file(NULL, argv[1], NULL);
  *             if (!textfile)
  *                     err(1, "Failed reading %s", argv[1]);
- *             lines = strsplit(textfile, textfile, "\n", STR_EMPTY_OK);
+ *             lines = tal_strsplit(textfile, textfile, "\n", STR_EMPTY_OK);
  *
  *             // Join them back together with two linefeeds.
- *             printf("%s", strjoin(textfile, lines, "\n\n", STR_TRAIL));
+ *             printf("%s", tal_strjoin(textfile, lines, "\n\n", STR_TRAIL));
  *
  *             // Free everything, just because we can.
  *             tal_free(textfile);