Dummy merge with head -r1418 to kill it

This commit is contained in:
Kris Maglione 2007-02-03 14:36:04 -05:00
commit 0668c1e29e

21
libcext/estrdup.c Normal file
View File

@ -0,0 +1,21 @@
/*
* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "cext.h"
char *
cext_estrdup(const char *s)
{
char *tmp;
tmp = (char *) cext_emallocz(strlen(s) + 1);
strcpy(tmp, (char *) s);
return tmp;
}