|
|
coherent
/*
* Create a new copy of a string.
*/
#include "local_misc.h"
extern char *strcpy();
char *
newcpy(s)
register char *s;
{
if (NULL == s)
return (NULL);
return (strcpy(alloc(strlen(s) + 1), s));
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.