#include "mysys_priv.h"
#include <m_string.h>
Funciones |
my_bool | init_dynamic_string (DYNAMIC_STRING *str, const char *init_str, uint init_alloc, uint alloc_increment) |
my_bool | dynstr_set (DYNAMIC_STRING *str, const char *init_str) |
my_bool | dynstr_realloc (DYNAMIC_STRING *str, ulong additional_size) |
my_bool | dynstr_append (DYNAMIC_STRING *str, const char *append) |
my_bool | dynstr_append_mem (DYNAMIC_STRING *str, const char *append, uint length) |
my_bool | dynstr_append_os_quoted (DYNAMIC_STRING *str, const char *append,...) |
void | dynstr_free (DYNAMIC_STRING *str) |
Documentación de las funciones
Concatenates any number of strings, escapes any OS quote in the result then surround the whole affair in another set of quotes which is finally appended to specified DYNAMIC_STRING. This function is especially useful when building strings to be executed with the system() function.
- Parámetros:
-
str | Dynamic String which will have addtional strings appended. |
append | String to be appended. |
... | Optional. Additional string(s) to be appended. |
- Nota:
- The final argument in the list must be NullS even if no additional options are passed.
- Devuelve:
- True = Success.