Lines Matching defs:min_home
49 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,
93 char min_home[MAXPATHLEN]; /* real path to min $HOME */
146 (void) snprintf(min_home, MAXPATHLEN, "%s%s",
151 if ((strlen(min_home) + strlen(COPY)) > (MAXPATHLEN - 1)) {
153 dprintf("setupfiles copy path %s", min_home);
161 (void) strcpy(cl_file, min_home);
185 if (copyfile(min_home, home, file, flags) != 0) {
204 if ((strlen(min_home) + strlen(LINK)) > (MAXPATHLEN - 1)) {
206 dprintf("setupfiles link path %s", min_home);
214 (void) strcpy(cl_file, min_home);
238 if (linkfile(min_home, home, file, flags) != 0) {
325 * Entry min_home = from home directory.
343 copyfile(const char *min_home, const char *home, const char *target, int flags)
389 if (snprintf(src, sizeof (src), "%s/%s", min_home, target) >
417 /* execute "cp -p min_home home" */
437 * Entry min_home = from home directory.
454 linkfile(const char *min_home, const char *home, const char *target, int flags)
493 if (snprintf(src, sizeof (src), "%s/%s", min_home, target) >