/openbsd-current/usr.bin/mail/ |
H A D | temp.c | 80 homedir = NULL; 82 homedir = savestr(cp); 84 printf("user = %s, homedir = %s\n", myname, 85 homedir ? homedir : "NONE");
|
H A D | glob.h | 56 extern char *homedir; /* Path name of home directory */
|
H A D | fio.c | 447 if (name[0] == '~' && homedir && (name[1] == '/' || name[1] == '\0')) { 448 (void)snprintf(xname, sizeof(xname), "%s%s", homedir, name + 1); 489 (void)snprintf(name, namelen, "%s/%s", homedir ? homedir : ".",
|
H A D | main.c | 54 char *homedir; /* Path name of home directory */ variable
|
H A D | cmd3.c | 158 if (homedir == NULL) 160 cp = homedir;
|
/openbsd-current/gnu/usr.bin/cvs/src/ |
H A D | cvsrc.c | 35 char *homedir; local 67 homedir = get_homedir (); 73 if (!homedir) 76 homeinit = (char *) xmalloc (strlen (homedir) + strlen (cvsrc) + 10); 77 strcpy (homeinit, homedir);
|
H A D | login.c | 45 char *homedir; local 54 homedir = get_homedir (); 55 if (! homedir) 69 (char *) xmalloc (strlen (homedir) + strlen (CVS_PASSWORD_FILE) + 3); 70 strcpy (passfile, homedir);
|
H A D | wrapper.c | 91 char *homedir; local 120 homedir = get_homedir (); 126 if (homedir != NULL) 130 file = xmalloc (strlen (homedir) + sizeof (CVSDOTWRAPPER) + 10); 131 (void) sprintf (file, "%s/%s", homedir, CVSDOTWRAPPER);
|
H A D | history.c | 769 /* Try harder to find a "homedir" */ 771 char *homedir; local 778 homedir = xgetwd (); 779 if (homedir == NULL) 786 i = strlen (homedir); 787 if (!strncmp (CurDir, homedir, i)) 792 free (homedir);
|
/openbsd-current/gnu/llvm/lldb/source/API/ |
H A D | SBHostOS.cpp | 90 FileSpec homedir; local 91 FileSystem::Instance().GetHomeDirectory(homedir); 92 FileSystem::Instance().Resolve(homedir); 95 sb_fspec.SetFileSpec(homedir);
|
/openbsd-current/usr.bin/ssh/ |
H A D | sshconnect.h | 45 char *homedir; member in struct:ssh_conn_info 64 "d", conn_info->homedir, \
|
H A D | sftp-server.c | 1539 /* Special-case for "~" and "~/" to respect homedir flag */ 1876 char *cp, *homedir = NULL, uidstr[32], buf[4*4096]; local 1927 homedir = percent_expand(cp, "d", user_pw->pw_dir, 1979 if (homedir != NULL) { 1980 if (chdir(homedir) != 0) { 1981 error("chdir to \"%s\" failed: %s", homedir,
|
/openbsd-current/gnu/lib/libreadline/ |
H A D | util.c | 161 char *homedir, *temp; local 169 homedir = tilde_expand ("~"); 170 _rl_replace_text (homedir, start, end); 197 homedir = tilde_expand (temp); 200 _rl_replace_text (homedir, start, end);
|
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | main.c | 145 char *homedir, *homeinit; local 601 homedir = getenv ("HOME"); 602 if (homedir) 604 homeinit = (char *) alloca (strlen (homedir) + 606 strcpy (homeinit, homedir); 616 need them if homedir is set. Make sure that they are 625 homedir was set. */ 694 if (!homedir
|
H A D | win32-nat.c | 2468 char *homedir; local 2472 homedir = getenv ("HOME"); 2473 if (homedir) 2476 char *oldini = (char *) alloca (strlen (homedir) + 2478 strcpy (oldini, homedir);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920928-4.c | 58 sec_rgy_pname_t homedir; member in struct:__anon6870
|
/openbsd-current/gnu/usr.bin/texinfo/info/ |
H A D | infokey.c | 184 char *homedir; 186 homedir = getenv ("HOME"); 188 if (!homedir) 189 homedir = "."; 192 input_filename = mkpath (homedir, INFOKEY_SRCFILE); 194 output_filename = mkpath (homedir, INFOKEY_FILE); 183 char *homedir; local
|
H A D | infomap.c | 1458 char *homedir; local 1469 else if ((homedir = getenv("HOME")) != NULL) 1471 filename = xmalloc(strlen(homedir) + 2 + strlen(INFOKEY_FILE)); 1472 strcpy(filename, homedir);
|
/openbsd-current/usr.bin/rdist/ |
H A D | client.h | 126 extern char *homedir; /* User's $HOME */
|
H A D | common.c | 61 char *homedir = NULL; /* User's $HOME */ variable 131 homedir = xstrdup(pw->pw_dir); 589 pw_dir = homedir;
|
/openbsd-current/usr.bin/ftp/ |
H A D | main.c | 320 char *cp, homedir[PATH_MAX]; local 603 (void)strlcpy(homedir, pw->pw_dir, sizeof homedir); 604 home = homedir;
|
/openbsd-current/usr.sbin/smtpd/ |
H A D | util.c | 561 char homedir[PATH_MAX]; local 568 if (realpath(userdir, homedir) == NULL) 569 homedir[0] = '\0'; 589 /* We can stop checking after reaching homedir level. */ 590 if (strcmp(homedir, buf) == 0)
|
/openbsd-current/usr.sbin/adduser/ |
H A D | adduser.perl | 1117 local($homedir) = "$home/$name"; 1119 if (-e "$homedir") { 1120 warn "HOME Directory ``$homedir'' already exists\a\n"; 1125 if (!mkdir("$homedir", 0755)) { 1126 warn "mkdir $homedir: $!\n"; return 0; 1128 system 'chown', "$name:$group", $homedir; 1132 # copy files from $dotdir to $homedir 1134 print "Copy files from $dotdir to $homedir\n" if $verbose; 1135 system("cp", "-R", $dotdir, $homedir); 1136 system("chmod", "-R", "u+wrX,go-w", $homedir); [all...] |
/openbsd-current/bin/ksh/ |
H A D | eval.c | 61 static char *homedir(char *); 1229 dp = homedir(cp); 1244 homedir(char *name) function
|
/openbsd-current/usr.sbin/user/ |
H A D | user.c | 1448 const char *homedir; local 1499 homedir = pwp->pw_dir; 1729 const char *mv_argv[] = { "mv", homedir, pwp->pw_dir, NULL }; 1736 "can't move `%s' to `%s'", homedir, pwp->pw_dir);
|