]> diplodocus.org Git - nmh/blob - docs/historical/2.9BSD/subs/getcpy.c
Replace GNUism with standard touch flag in test-scan-file.
[nmh] / docs / historical / 2.9BSD / 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 }