Home
last modified time | relevance | path

Searched refs:usrnam (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplfile.c84 char usrnam[USR_LEN+1]; /* The buffer used when reading the names of */ member
146 cf->usrnam[0] = '\0'; in _new_CompleteFile()
269 if(!cf_read_name(cf, "User", ++lptr, --nleft, cf->usrnam, USR_LEN)) in _cf_complete_file()
274 slen = strlen(cf->usrnam); in _cf_complete_file()
282 if(cf_expand_home_dir(cf, cf->usrnam)) in _cf_complete_file()
304 return cf_complete_username(cf, cpl, cf->usrnam, line, word_start+1, in _cf_complete_file()
385 if(!cf_read_name(cf, "User", value+1, vlen-1, cf->usrnam, USR_LEN) || in _cf_complete_file()
386 cf_expand_home_dir(cf, cf->usrnam)) in _cf_complete_file()
564 if(cf_prepare_suffix(cf, usrnam+args->prefix_len, args->escaped)) { in HOME_DIR_FN()
H A Dexpand.c107 char usrnam[USR_LEN+1]; /* A user name */ member
186 ef->usrnam[0] = '\0'; in new_ExpandFile()
1159 ef->usrnam[usrlen] = *pptr++; in ef_expand_special()
1172 ef->usrnam[usrlen] = '\0'; in ef_expand_special()
1176 homedir = _hd_lookup_home_dir(ef->home, ef->usrnam); in ef_expand_special()
H A Dhomedir.h76 #define HOME_DIR_FN(fn) int (fn)(void *data, const char *usrnam, const char *homedir, char *errmsg,…
H A Dpcache.c165 char usrnam[USR_LEN+1];/* The buffer used when reading the names of */ member
293 pc->usrnam[0] = '\0'; in new_PathCache()
684 pc->usrnam[usrlen++] = *sptr; in pca_read_username()
697 pc->usrnam[usrlen] = '\0'; in pca_read_username()
1657 homedir = _hd_lookup_home_dir(pc->home, pc->usrnam); in pca_expand_tilde()