Searched refs:lookupvar (Results 1 – 9 of 9) sorted by relevance
118 char *lookupvar(const char *);
151 if ((shinit = lookupvar("ENV")) != NULL && *shinit != '\0') { in main()
413 pwd = lookupvar("PWD"); in pwd_init()
99 str = lookupvar(varname); in arith_lookupvarint()
388 home = lookupvar("HOME"); in exptilde()787 val = lookupvar(var); in evalvar()
178 term = lookupvar("TERM"); in histedit()
711 if (*name != '/' && (pwd = lookupvar("PWD")) != NULL && *pwd != '\0') { in print_absolute_path()
420 lookupvar(const char *name) in lookupvar() function
2178 pwd = lookupvar("PWD"); in getprompt()2186 home = lookupvar("HOME"); in getprompt()