MySQL 8.0.40
Source Code Documentation
|
Functions | |
static int | mystrcat_core_sprintf (char *dest, int size, const char *format, va_list args) |
char * | mystrcat (char *dest, int *size, const char *src) |
Concatenates two strings and returns pointer to last character of final string, allowing further concatenations without having to cycle through the entire string again. More... | |
char * | mystrcat_sprintf (char *dest, int *size, const char *format,...) |
This function allocates a new string where the format string and optional arguments are rendered to. More... | |
char * mystrcat | ( | char * | dest, |
int * | size, | ||
const char * | src | ||
) |
Concatenates two strings and returns pointer to last character of final string, allowing further concatenations without having to cycle through the entire string again.
dest | pointer to last character of destination string |
size | pointer to the number of characters currently added to xcom_log_buffer |
src | pointer to the string to append to dest |
|
static |
char * mystrcat_sprintf | ( | char * | dest, |
int * | size, | ||
const char * | format, | ||
... | |||
) |
This function allocates a new string where the format string and optional arguments are rendered to.
Finally, it invokes mystr_cat to concatenate the rendered string to the string received in the first parameter.