Searched refs:stringptr (Results 1 – 1 of 1) sorted by relevance
329 static int get_string_from_buf(char **stringptr, int strsize, const char *buf);4390 get_string_from_buf(char **stringptr, int strsize, const char *buf) in get_string_from_buf() argument4402 if (stringptr != NULL) { in get_string_from_buf()4404 *stringptr = (char *)malloc(strsize); in get_string_from_buf()4405 if (*stringptr == NULL) { in get_string_from_buf()4408 (void) memcpy(*stringptr, buf, strsize); in get_string_from_buf()4410 *stringptr = NULL; in get_string_from_buf()4412 *stringptr = NULL; in get_string_from_buf()