Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libtecla/common/
H A Dcplfile.c88 char envnam[ENV_LEN+1]; /* The buffer used when reading the names of */ member
149 cf->envnam[0] = '\0'; in _new_CompleteFile()
363 if(!cf_read_name(cf, "Environment", ++lptr, --nleft, cf->envnam, ENV_LEN)) in _cf_complete_file()
368 nlen = strlen(cf->envnam); in _cf_complete_file()
374 value = getenv(cf->envnam); in _cf_complete_file()
376 _err_record_msg(cf->err, "Unknown environment variable: ", cf->envnam, in _cf_complete_file()
H A Dexpand.c110 char envnam[ENV_LEN+1]; /* An environment variable name */ member
189 ef->envnam[0] = '\0'; in new_ExpandFile()
1090 ef->envnam[envlen] = path[ppos++]; in ef_expand_special()
1104 ef->envnam[envlen] = '\0'; in ef_expand_special()
1108 value = getenv(ef->envnam); in ef_expand_special()
1110 _err_record_msg(ef->err, "No expansion found for: $", ef->envnam, in ef_expand_special()