Lines Matching refs:to
87 safecpy(char *to, register char *from, register int len)
89 register char *dest = to;
94 return to;
97 /* copy a string up to some (non-backslashed) delimiter, if any */
100 cpytill(register char *to, register char *from, register int delim)
102 for (; *from; from++,to++) {
107 *to++ = *from++;
111 *to = *from;
113 *to = '\0';
119 cpy2(register char *to, register char *from, register int delim)
121 for (; *from; from++,to++) {
123 *to++ = *from++;
125 *to++ = '\\';
128 *to = *from;
130 *to = '\0';
134 /* return ptr to little string in big string, NULL if not found */
154 /* copy a string to a safe spot */
165 /* grow a static string to at least a certain length */