- register char *cp, *cp2, *top;
-
- for (cp = str; *cp; cp++)
- ;
- top = salloc(cp-str + 1);
- if (top == NOSTR)
- return(NOSTR);
- for (cp = str, cp2 = top; *cp; cp++)
- *cp2++ = *cp;
- *cp2 = 0;
- return(top);
-}
-
-/*
- * Copy the name from the passed header line into the passed
- * name buffer. Null pad the name buffer.
- */
-
-copyname(linebuf, nbuf)
- char *linebuf, *nbuf;
-{
- register char *cp, *cp2;