]> diplodocus.org Git - nmh/blob - docs/historical/mh-nov-1983/subs/getcpy.c
Commit ddf3a8574f65 is a fix to commit af586ebe59b7.
[nmh] / docs / historical / mh-nov-1983 / subs / getcpy.c
1 char *getcpy(str)
2 {
3 register char *cp;
4
5 cp = (char *) malloc(strlen(str) + 1);
6 strcpy(cp, str);
7 return(cp);
8 }