Searched defs:home_dir (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libtecla/common/
H A Dhomedir.c214 const char *home_dir; /* A pointer to the home directory of the user */ local
232 home_dir = hd_getpwd(home);
233 if(!home_dir) {
238 return home_dir;
245 home_dir = getenv("HOME");
246 if(home_dir)
247 return home_dir;
273 home_dir = home->pwd.pw_dir;
289 home_dir = pwd->pw_dir;
292 return home_dir;
[all...]
H A Dcplfile.c486 const char *home_dir = _hd_lookup_home_dir(cf->home, user); local
490 if(!home_dir) {
497 if(_pn_append_to_path(cf->path, home_dir, -1, 0) == NULL) {
/illumos-gate/usr/src/cmd/power/
H A Dsys-suspend.c487 char *home_dir; local
501 if ((home_dir = getenv("HOME")) == NULL) {
507 home_dir = pwd->pw_dir;
509 if ((strlen(home_dir) + sizeof ("/.Xauthority")) >= MAXPATHLEN) {
519 (void) sprintf(filepath, "%s/.Xauthority", home_dir);
/illumos-gate/usr/src/cmd/sqlite/
H A Dshell.c1098 char *home_dir = NULL; local
1104 home_dir = pwent->pw_dir;
1110 home_dir = getcwd(home_path, _MAX_PATH);
1113 if (!home_dir) {
1114 home_dir = getenv("HOME");
1115 if (!home_dir) {
1116 home_dir = getenv("HOMEPATH"); /* Windows? */
1121 if (!home_dir) {
1122 home_dir = "c:";
1126 if( home_dir ){
1143 char *home_dir = NULL; local
[all...]

Completed in 58 milliseconds