head	1.0;
access;
symbols;
locks
	ntcommon:1.0; strict;
comment	@ * @;


1.0
date	95.12.17.19.47.28;	author ntcommon;	state Exp;
branches;
next	;


desc
@This is the first working netrek version, plasmas and other special weapons do not work.
@


1.0
log
@Initial revision
@
text
@#include <stdio.h>


char * strdup( strptr)
char * strptr;
{
     char * charptr;

     charptr = (char *) malloc(sizeof(char) * strlen(strptr) + 1);
     if(charptr == NULL) 
	return(charptr);
     strcpy(charptr, strptr);

     return(charptr);
}
@
