Initial revision

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@83 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1995-08-26 12:40:32 +00:00
parent 613e5f848b
commit 832ea1cfb1

12
lib/roken/strdup.c Normal file
View File

@@ -0,0 +1,12 @@
#include "bsd_locl.h"
#ifndef HAVE_STRDUP
static char *
strdup(const char *old)
{
char *t = malloc(strlen(old)+1);
if (t != 0)
strcpy(t, old);
return t;
}
#endif