Home
last modified time | relevance | path

Searched refs:envnam (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplfile.c86 char envnam[ENV_LEN+1]; /* The buffer used when reading the names of */ member
147 cf->envnam[0] = '\0'; in _new_CompleteFile()
361 if(!cf_read_name(cf, "Environment", ++lptr, --nleft, cf->envnam, ENV_LEN)) in _cf_complete_file()
366 nlen = strlen(cf->envnam); in _cf_complete_file()
372 value = getenv(cf->envnam); in _cf_complete_file()
374 _err_record_msg(cf->err, "Unknown environment variable: ", cf->envnam, in _cf_complete_file()
H A Dexpand.c108 char envnam[ENV_LEN+1]; /* An environment variable name */ member
187 ef->envnam[0] = '\0'; in new_ExpandFile()
1089 ef->envnam[envlen] = path[ppos++]; in ef_expand_special()
1103 ef->envnam[envlen] = '\0'; in ef_expand_special()
1107 value = getenv(ef->envnam); in ef_expand_special()
1109 _err_record_msg(ef->err, "No expansion found for: $", ef->envnam, in ef_expand_special()