Searched refs:new (Results 1 – 2 of 2) sorted by relevance
43 char *new = (char *) malloc (len + 1); in __strndup() local45 if (new == NULL) in __strndup()48 new[len] = '\0'; in __strndup()49 return (char *) memcpy (new, s, len); in __strndup()
42 void *new = malloc (len); in __strdup() local44 if (new == NULL) in __strdup()47 return (char *) memcpy (new, s, len); in __strdup()
Completed in 6 milliseconds