string_cat.c 342 B

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