Symbol: homedir
bin/ksh/eval.c
1265
dp = homedir(cp);
bin/ksh/eval.c
59
static char *homedir ARGS((char *name));
games/warp/intrp.c
110
snprintf(scrbuf, sizeof(scrbuf), "%s%s",homedir,s);
games/warp/intrp.c
382
s = homedir;
games/warp/intrp.c
44
homedir = getenv("HOME");
games/warp/intrp.c
45
if (homedir == NULL)
games/warp/intrp.c
46
homedir = getenv("LOGDIR");
games/warp/intrp.c
48
dotdir = getval("DOTDIR",homedir);
games/warp/intrp.h
13
EXT char *homedir INIT(NULL); /* login directory */
libexec/ftpd/conf.c
356
CONF_STRING(homedir);
libexec/ftpd/conf.c
99
REASSIGN(curclass.homedir, NULL);
libexec/ftpd/extern.h
273
char *homedir; /* Directory to chdir(2) to at login */
libexec/ftpd/extern.h
320
GLOBAL char homedir[MAXPATHLEN];
libexec/ftpd/ftpcmd.y
1121
home = homedir;
libexec/ftpd/ftpcmd.y
203
cwd(homedir);
libexec/ftpd/ftpd.c
1528
homedir[0] = '/';
libexec/ftpd/ftpd.c
1540
format_path(homedir,
libexec/ftpd/ftpd.c
1541
curclass.homedir ? curclass.homedir :
libexec/ftpd/ftpd.c
1543
if (EMPTYSTR(homedir))
libexec/ftpd/ftpd.c
1544
homedir[0] = '/';
libexec/ftpd/ftpd.c
1551
if (chdir(homedir) < 0) {
libexec/ftpd/ftpd.c
1554
pw->pw_name, homedir);
libexec/ftpd/ftpd.c
1563
format_path(homedir,
libexec/ftpd/ftpd.c
1564
curclass.homedir ? curclass.homedir :
libexec/ftpd/ftpd.c
1566
if (EMPTYSTR(homedir))
libexec/ftpd/ftpd.c
1567
homedir[0] = '/';
libexec/ftpd/ftpd.c
1574
if (chdir(homedir) < 0) {
libexec/ftpd/ftpd.c
1577
pw->pw_name, homedir);
libexec/ftpd/ftpd.c
1593
format_path(homedir,
libexec/ftpd/ftpd.c
1594
curclass.homedir ? curclass.homedir :
libexec/ftpd/ftpd.c
1596
if (EMPTYSTR(homedir) || chdir(homedir) < 0) {
libexec/ftpd/ftpd.c
1601
!EMPTYSTR(homedir) ? homedir : "/");
libexec/ftpd/ftpd.c
1605
!EMPTYSTR(homedir) ? homedir : "/");
libexec/ftpd/ftpd.c
1610
homedir[0] = '/';
libexec/ftpd/ftpd.c
1637
setenv("HOME", homedir, 1);
libexec/ftpd/ftpd.c
2756
if (! EMPTYSTR(curclass.homedir))
libexec/ftpd/ftpd.c
2757
reply(0, "Homedir format: %s", curclass.homedir);
libexec/ftpd/ftpd.c
316
homedir[0] = '\0';
libexec/identd/identd.c
868
check_noident(const char *homedir)
libexec/identd/identd.c
874
if (homedir == NULL)
libexec/identd/identd.c
876
if (asprintf(&path, "%s/.noident", homedir) < 0)
libexec/identd/identd.c
889
check_userident(const char *homedir, char *username, size_t len)
libexec/identd/identd.c
896
if (len == 0 || homedir == NULL)
libexec/identd/identd.c
898
if (asprintf(&path, "%s/.ident", homedir) < 0)
libexec/rexecd/rexecd.c
358
(void)strlcat(homedir, pwd->pw_dir, sizeof(homedir));
libexec/rexecd/rexecd.c
92
static char homedir[PATH_MAX + 1] = "HOME=";
libexec/rexecd/rexecd.c
95
static char *envinit[] = { homedir, shell, path, username, logname, 0 };
usr.bin/mail/cmd2.c
586
if (homedir && homedir[0] != '~')
usr.bin/mail/cmd2.c
588
homedir, fname + 2);
usr.bin/mail/cmd3.c
209
cp = homedir;
usr.bin/mail/fio.c
412
(void)snprintf(unres, sizeof(unres), "%s/%s", homedir, folder);
usr.bin/mail/fio.c
472
(void)snprintf(xname, sizeof(xname), "%s%s", homedir, name + 1);
usr.bin/mail/glob.h
65
EXTERN char *homedir; /* Path name of home directory */
usr.bin/mail/mime_attach.c
717
if (homedir && homedir[0] != '~')
usr.bin/mail/mime_attach.c
719
homedir, fname + 2);
usr.bin/mail/temp.c
88
homedir = savestr(cp);
usr.bin/mail/temp.c
99
myname, homedir, origdir);
usr.bin/rdist/expand.c
159
extern char homedir[];
usr.bin/rdist/expand.c
210
cp1 = homedir;
usr.bin/rdist/expand.c
567
extern char homedir[];
usr.bin/rdist/expand.c
574
s2 = homedir;
usr.bin/rdist/expand.c
577
s2 = homedir;
usr.bin/rdist/main.c
100
strlcpy(homedir, pw->pw_dir, sizeof(homedir));
usr.bin/rdist/main.c
76
char homedir[PATH_MAX]; /* user's home directory */
usr.sbin/bootp/bootpd/bootpd.c
602
char *homedir, *bootfile;
usr.sbin/bootp/bootpd/bootpd.c
824
homedir = NULL;
usr.sbin/bootp/bootpd/bootpd.c
829
homedir = bp->bp_file;
usr.sbin/bootp/bootpd/bootpd.c
832
for (t = homedir; t - homedir < BP_FILE_LEN; t++)
usr.sbin/bootp/bootpd/bootpd.c
835
if (t - homedir < BP_FILE_LEN) {
usr.sbin/bootp/bootpd/bootpd.c
836
report(LOG_INFO, "requested path length > BP_FILE_LEN file = \"%s\", nul terminating", homedir);
usr.sbin/bootp/bootpd/bootpd.c
837
homedir[BP_FILE_LEN - 1] = '\0';
usr.sbin/bootp/bootpd/bootpd.c
840
bootfile = strrchr(homedir, '/');
usr.sbin/bootp/bootpd/bootpd.c
842
if (homedir == bootfile)
usr.sbin/bootp/bootpd/bootpd.c
843
homedir = NULL;
usr.sbin/bootp/bootpd/bootpd.c
847
bootfile = homedir;
usr.sbin/bootp/bootpd/bootpd.c
848
homedir = NULL;
usr.sbin/bootp/bootpd/bootpd.c
852
(homedir) ? homedir : "",
usr.sbin/bootp/bootpd/bootpd.c
860
if (hp->flags.homedir)
usr.sbin/bootp/bootpd/bootpd.c
861
homedir = hp->homedir->string;
usr.sbin/bootp/bootpd/bootpd.c
868
if (homedir) {
usr.sbin/bootp/bootpd/bootpd.c
869
if (homedir[0] != '/')
usr.sbin/bootp/bootpd/bootpd.c
871
strlcat(lrealpath, homedir, sizeof(lrealpath));
usr.sbin/bootp/bootpd/bootpd.c
872
homedir = NULL;
usr.sbin/bootp/common/bootpd.h
105
homedir :1,
usr.sbin/bootp/common/bootpd.h
173
*homedir,
usr.sbin/bootp/common/dumptab.c
173
if (hp->flags.homedir) {
usr.sbin/bootp/common/dumptab.c
174
fprintf(fp, "\\\n\t:hd=%s:", hp->homedir->string);
usr.sbin/bootp/common/readfile.c
1432
DUP_LINK(homedir);
usr.sbin/bootp/common/readfile.c
1892
del_string(hostptr->homedir);
usr.sbin/bootp/common/readfile.c
898
PARSE_STR(homedir);
usr.sbin/user/user.c
1423
const char *homedir;
usr.sbin/user/user.c
1451
homedir = pwp->pw_dir;
usr.sbin/user/user.c
1708
asystem("%s %s %s", _PATH_MV, homedir, pwp->pw_dir) != 0) {
usr.sbin/user/user.c
1713
login_name, homedir, pwp->pw_dir);