Searched refs:new_str (Results 1 – 1 of 1) sorted by relevance
289 void *new_str = malloc(len); in strdup() local290 return new_str ? reinterpret_cast<char *>(memcpy(new_str, str, len)) : 0; in strdup()