HomeSort by: relevance | last modified time | path
    Searched defs:home (Results 1 - 11 of 11) sorted by relevancy

  /src/games/battlestar/
save.c 152 * determine the name of the file to be saved to by adding the HOME
159 char *home; local in function:save_file_name
172 home = getenv("HOME");
173 if (home != NULL) {
174 tmpl = strlen(home);
180 memcpy(newname, home, tmpl);
  /src/games/hack/
hack.terminfo.c 149 home();
243 home(void) function in typeref:typename:void
  /src/bin/sh/
main.c 240 const char *home; local in function:main
242 home = lookupvar("HOME");
243 if (home == NULL)
244 home = nullstr;
245 profile = ststrcat(NULL, home, "/.profile", STSTRC_END);
expand.c 394 const char *home; local in function:exptilde
436 home = lookupvar("HOME");
438 * if HOME is unset, results are unspecified...
442 if (home == NULL && (pw = getpwuid(getuid())) != NULL)
443 home = pw->pw_dir;
449 home = NULL;
451 home = pw->pw_dir;
453 VTRACE(DBG_EXPAND, (" ->\"%s\"", home ? home : "<<NULL>>"))
    [all...]
  /src/usr.bin/indent/
args.c 314 const char *home = getenv("HOME"); local in function:load_profile_files
315 if (home != NULL) {
317 snprintf(fname, sizeof(fname), "%s/.indent.pro", home);
  /src/distrib/utils/more/
screen.c 93 *sc_home, /* Cursor home */
347 * We need it only if we don't have home or lower-left.
396 * No "home" string,
475 * Home cursor (move to upper left corner of screen).
478 home() function in typeref:typename:void
484 * Add a blank line (called with cursor at home).
  /src/usr.sbin/rpc.pcnfsd/
pcnfsd_v2.c 82 static char home[256]; local in function:pcnfsd2_auth_2_svc
95 home[0] = '\0';
96 r.home = &home[0];
112 yphome = find_entry(uname, "auto.home");
114 strlcpy(home, yphome, sizeof(home));
116 cp = strchr(home, ':');
146 yphome = find_entry(uname, "auto.home");
148 strlcpy(home, yphome, sizeof(home))
    [all...]
  /src/games/backgammon/common_source/
init.c 87 int home; variable in typeref:typename:int
  /src/usr.bin/msgs/
msgs.c 411 char *home = getenv("HOME"); local in function:main
412 if(home == NULL || *home == '\0')
413 errx(1, "$HOME not set");
414 snprintf(fname, sizeof (fname), "%s/%s", home, MSGSRC);
  /src/usr.sbin/sysinst/
main.c 484 char *home = getenv("HOME"); local in function:toplevel
485 if (home != NULL)
486 if (chdir(home) != 0)
578 chdir(getenv("HOME"));
  /src/usr.sbin/user/
user.c 88 char *u_home; /* home directory */
89 mode_t u_homeperm; /* permissions of home dir */
94 char *u_basedir; /* base directory for home */
150 #define DEF_BASEDIR "/home"
269 /* remove a users home directory, returning 1 for success (ie, no problems encountered) */
277 warnx("Not deleting home directory `%s'; userid is 0", pwp->pw_dir);
283 warn("Cannot access home directory `%s'", pwp->pw_dir);
287 warnx("Home directory `%s' is not a directory", pwp->pw_dir);
334 /* copy any dot files into the user's home directory */
1073 char home[MaxFileNameLen] local in function:adduser
    [all...]

Completed in 16 milliseconds