Lines Matching refs:varname
64 char varname[64];
85 pt2 = varname;
95 if ((token = getenv(varname)) != NULL &&
193 * Evaluate varname and return with environment variables resolved.
194 * NOTE: This assumes that varname is a buffer long enough to hold the
198 mapvar(int flag, char *varname)
204 if (*varname == '$' && isalpha(varname[1])) {
206 if (mode(flag, varname)) {
211 if (((token = getenv(&varname[1])) != NULL) &&
213 /* copy token into varname */
215 *varname++ = *token++;
216 *varname = '\0';
227 islower(varname[1]))