65 size_t guac_strlcpy(
char* restrict dest,
const char* restrict src,
size_t n);
110 size_t guac_strlcat(
char* restrict dest,
const char* restrict src,
size_t n);
170 size_t guac_strljoin(
char* restrict dest,
const char* restrict
const* elements,
171 int nmemb,
const char* restrict delim,
size_t n);
Provides convenience functions for manipulating strings.
char * guac_strdup(const char *str)
Simple wrapper for strdup() which behaves identically to standard strdup(), except that NULL will be ...
size_t guac_strljoin(char *restrict dest, const char *restrict const *elements, int nmemb, const char *restrict delim, size_t n)
Concatenates each of the given strings, separated by the given delimiter, storing the result within a...
size_t guac_strlcpy(char *restrict dest, const char *restrict src, size_t n)
Copies a limited number of bytes from the given source string to the given destination buffer...
size_t guac_strlcat(char *restrict dest, const char *restrict src, size_t n)
Appends the given source string after the end of the given destination string, writing at most the gi...