Lines Matching refs:out
170 shellpath(char *out, int limit, char *in) in shellpath() argument
179 lastchar = out + limit - 1; in shellpath()
186 *out++ = *in++; /* copy the ~ because it may not be expanded */ in shellpath()
189 s = out; in shellpath()
197 if (*out == '\0') { in shellpath()
200 v = logdir(out); in shellpath()
204 (void) strcpy(out - 1, v); in shellpath()
205 out += strlen(v) - 1; in shellpath()
208 out += strlen(out); in shellpath()
212 while (out < lastchar && *in != '\0' && !isspace(*in)) { in shellpath()
217 *out++ = *in++; in shellpath()
220 s = out; in shellpath()
228 if ((v = getenv(out)) != NULL) { in shellpath()
229 (void) strcpy(out - 1, v); in shellpath()
230 out += strlen(v) - 1; in shellpath()
236 out += strlen(out); in shellpath()
239 *out++ = *in++; in shellpath()
242 *out = '\0'; in shellpath()