#include "strdup.h" char * strdup(char * string) { return(strcpy((char *)malloc(strlen(string)+1), string)); }