http_utils_assign_string() function
Assign new_str to *str pointer, and realloc *str if it not NULL
Syntax
char *http_utils_assign_string(char **str,
const char *new_str,
int len);
Arguments
str
pointer to string pointer
new_str
assign this tring to str
len
length of string, less than 0 if new_str is zero terminated
Return value
- new_str pointer - NULL
http_utils_assign_string() is called by 3 functions and calls 3 functions:
![]()
http_utils_assign_string()
http_utils_assign_string():
![]()
http_utils_assign_string()