/* * (C)opyright MMIV-MMV Anselm R. Garbe * See LICENSE file for license details. */ #include #include #include #include "cext.h" char * estrdup(const char *s) { char *tmp; tmp = (char *) emalloc(strlen(s) + 1); strcpy(tmp, (char *) s); return tmp; }