Lines Matching refs:out
171 shellpath(char *out, int limit, char *in) in shellpath() argument
180 lastchar = out + limit - 1; in shellpath()
187 *out++ = *in++; /* copy the ~ because it may not be expanded */ in shellpath()
190 s = out; in shellpath()
198 if (*out == '\0') { in shellpath()
201 v = logdir(out); in shellpath()
205 (void) strcpy(out - 1, v); in shellpath()
206 out += strlen(v) - 1; in shellpath()
209 out += strlen(out); in shellpath()
213 while (out < lastchar && *in != '\0' && !isspace(*in)) { in shellpath()
218 *out++ = *in++; in shellpath()
221 s = out; in shellpath()
229 if ((v = getenv(out)) != NULL) { in shellpath()
230 (void) strcpy(out - 1, v); in shellpath()
231 out += strlen(v) - 1; in shellpath()
237 out += strlen(out); in shellpath()
240 *out++ = *in++; in shellpath()
243 *out = '\0'; in shellpath()