Searched defs:home (Results 1 - 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dtilde.sh34 function home # id function
72 do h=$(home $u)
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathcd.c59 * if path is long and home!=0 then pathcd(home,0)
64 pathcd(const char* path, const char* home) argument
134 * try to recover back to home
137 if (!(p = (char*)home))
139 home = 0;
/illumos-gate/usr/src/lib/pam_modules/smbfs/
H A Dsmbfs_login.c65 char *home; local
98 home = pwbuf.pw_dir;
108 res = smbfs_default_dom_usr(home, NULL, dom, sizeof (dom), NULL, 0);
/illumos-gate/usr/src/lib/nsswitch/user/common/
H A Dgetprinter.c248 char path[MAXPATHLEN], *home; local
250 if ((home = getenv("HOME")) == NULL)
251 home = "";
252 (void) snprintf(path, sizeof (path), "%s/.printers", home);
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dkeychain.c296 smbfs_default_dom_usr(const char *home, const char *server, argument
312 if (home && *home) {
315 ctx->ct_home = strdup(home);
H A Drcfile.c652 smb_open_rcfile(char *home) argument
677 if (home) {
678 len = strlen(home) + 20;
680 snprintf(fn, len, "%s/.nsmbrc", home);
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhomedir.c81 * The resources needed to lookup and record a home directory are
94 static const char *hd_getpwd(HomeDir *home);
104 HomeDir *home; /* The object to be returned */ local
109 home = (HomeDir *) malloc(sizeof(HomeDir));
110 if(!home) {
119 home->err = NULL;
120 home->buffer = NULL;
121 home->buflen = 0;
125 home->err = _new_ErrMsg();
126 if(!home
175 _del_HomeDir(HomeDir *home) argument
212 _hd_lookup_home_dir(HomeDir *home, const char *user) argument
304 _hd_last_home_dir_error(HomeDir *home) argument
330 _hd_scan_user_home_dirs(HomeDir *home, const char *prefix, void *data, HOME_DIR_FN(*callback_fn)) argument
448 hd_getpwd(HomeDir *home) argument
[all...]
H A Dcplfile.c83 HomeDir *home; /* A home directory expander */ member in struct:CompleteFile
145 cf->home = NULL;
163 * Create the object that is used to lookup home directories.
165 cf->home = _new_HomeDir();
166 if(!cf->home)
196 cf->home = _del_HomeDir(cf->home);
266 * If the first character is a tilde, then perform home-directory
281 * username to translate to the corresponding home director
[all...]
H A Dexpand.c107 HomeDir *home; /* Home-directory lookup object */ member in struct:ExpandFile
185 ef->home = NULL;
215 * Allocate an object for looking up home-directories.
217 ef->home = _new_HomeDir();
218 if(!ef->home)
265 * Delete the home-directory lookup object.
267 ef->home = _del_HomeDir(ef->home);
289 * of the pathname to the corresponding home directories, replacing
1138 * then attempt to substitute the home director
[all...]
H A Dpcache.c160 HomeDir *home; /* Home-directory lookup object */ member in struct:PathCache
235 * place the corresponding home directory into pc->path. Otherwise
290 pc->home = NULL;
327 * Allocate an object for looking up home-directories.
329 pc->home = _new_HomeDir();
330 if(!pc->home)
391 * Delete the home-directory lookup object.
393 pc->home = _del_HomeDir(pc->home);
569 * directories, expanding tilde home
[all...]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.pm275 sub home subroutine
277 scalar @_ == 3 or _usage("home(class, idtype, id)");
/illumos-gate/usr/src/cmd/tsol/updatehome/
H A Dsetupfiles.c49 static int copyfile(const char *min_home, const char *home, const char *target,
51 static int linkfile(const char *min_home, const char *home, const char *target,
81 * It also assumes that the user's home directory path is the
84 * At this point, the cross-zone automounter only supports home
85 * directories starting with /home
92 char home[MAXPATHLEN]; /* real path to current $HOME */ local
114 /* get current home real path */
116 (void) strlcpy(home, pwd->pw_dir, MAXPATHLEN);
127 * Since the global zone home directories aren't public
175 if (mkdirs(home, fil
275 mkdirs(const char *home, const char *file, int flags) argument
343 copyfile(const char *min_home, const char *home, const char *target, int flags) argument
454 linkfile(const char *min_home, const char *home, const char *target, int flags) argument
[all...]
/illumos-gate/usr/src/cmd/tnf/prex/
H A Dsource.c86 char *home; local
112 home = getenv(HOME);
113 if (home) {
116 if ((strlen(home) + strlen(PREXRC) + 2) < (size_t) MAXPATHLEN) {
117 (void) sprintf(path, "%s/%s", home, PREXRC);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmvcur.c56 * consider using home down, or taking advantage of automatic margins on
91 int hu, /* cost home + relative */
92 hd, /* cost home-down + relative */
188 char *home; local
192 home = cursor_home;
196 home = cursor_to_ll;
201 if (!home)
206 _PUTS(home, 1);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.dir.c50 * If this is a login shell, we should have a home directory. But,
54 * working directory based on the home directory.
110 dtildepr(tchar *home, tchar *dir) argument
116 if (!eq(home, S_SLASH /* "/" */) && prefix(home, dir))
117 printf("~%t", dir + strlen_(home));
137 bferr("No home directory");
139 bferr("Can't change to home directory");
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c417 long home = lseek(fd, 0L, 1); local
418 if (home == -1L) {
433 lseek(fd, home, 0) == -1) {
434 (void) lseek(fd, home, 0);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmpo.h53 #define HOMESET_ADD(homeset, home)\
54 homeset |= ((int)1 << (home))
57 #define MEM_LG_ISMEMBER(homeset, home)\
58 ((homeset) & ((uint64_t)1 << (home)))
63 uint_t home; member in struct:cpu_md
/illumos-gate/usr/src/cmd/logadm/
H A Dkw.c82 static char *home; local
149 if ((home = getenv("HOME")) != NULL)
150 Keywords = lut_add(Keywords, "home", STRDUP(home));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnftw.c144 char *home; member in struct:Var
380 base_last_comp = last->comp - vp->home;
382 base_comp = comp - vp->home;
383 base_component = component - vp->home;
384 if ((strlen(q) + strlen(vp->home) + 1) > vp->len) {
386 * When the space needed for vp->home has
390 * (possibly moved) new block for vp->home
392 base_this_comp = this.comp - vp->home;
393 base_fullpath = vp->fullpath - vp->home;
394 base_tmppath = vp->tmppath - vp->home;
[all...]
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c80 char *home; local
85 if ((home = getenv("HOME")) == NULL)
89 "%s/nohup.out", home) >= sizeof (nout)) ||
595 char *home; local
627 if (nh_fd == -1 && (home = getenv("HOME")) != NULL) {
629 "%s/nohup.out", home) < sizeof (nout)) {
/illumos-gate/usr/src/cmd/mailx/
H A Dlex.c243 char *home; local
245 if ((home = getenv("HOME")) == NULL)
247 snprintf(semfn, sizeof (semfn), "%s%s", home, "/.Maillock");
/illumos-gate/usr/src/cmd/mail/
H A Dinit.c172 char *home; /* pointer to $HOME */ variable
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp_var.h146 EXTERN char *home; variable
H A Dglob.c95 static int gethdir(char *home);
222 (void) strcpy(gpath, home);
751 * Extract a home directory from the password file
753 * user whose home directory is sought is currently.
754 * We write the home directory of the user back there.
757 gethdir(char *home) argument
759 register struct passwd *pp = getpwnam(home);
761 if (!pp || home + strlen(pp->pw_dir) >= lastgpathp)
763 (void) strcpy(home, pp->pw_dir);
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dfts.c62 size_t homesize; /* sizeof(home) */ \
74 char* home; /* home/path buffer */ \
413 setdir(register char* home, register char* path) argument
422 * note that path and home are in the same buffer
426 cdrv = pathcd(home, NiL);
430 pathcd(home, NiL);
439 setpdir(register char* home, register char* path, register char* base) argument
448 cdrv = setdir(home, path);
452 cdrv = pathcd(home, Ni
[all...]

Completed in 101 milliseconds

12