string_cat.c 325 B

1234567891011121314
  1. /*
  2. * string_cat.c
  3. */
  4. #include "private.h"
  5. #include <string.h>
  6. /*--------------------------------------------------------- */
  7. void lub_string_cat(char **string, const char *text)
  8. {
  9. size_t len = text ? strlen(text) : 0;
  10. lub_string_catn(string, text, len);
  11. }
  12. /*--------------------------------------------------------- */