]> diplodocus.org Git - nmh/blob - docs/historical/mh-nov-1983/subs/getcpy.c
Removed --depth 1 from git clone invocation.
[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 }