Searched refs:stringptr (Results 1 – 1 of 1) sorted by relevance
331 static int get_string_from_buf(char **stringptr, int strsize, const char *buf);4392 get_string_from_buf(char **stringptr, int strsize, const char *buf) in get_string_from_buf() argument4404 if (stringptr != NULL) { in get_string_from_buf()4406 *stringptr = (char *)malloc(strsize); in get_string_from_buf()4407 if (*stringptr == NULL) { in get_string_from_buf()4410 (void) memcpy(*stringptr, buf, strsize); in get_string_from_buf()4412 *stringptr = NULL; in get_string_from_buf()4414 *stringptr = NULL; in get_string_from_buf()