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