home
char *home;
home = lookupvar("HOME");
home = pw != NULL ? pw->pw_dir : NULL;
if (home == NULL || *home == '\0')
strtodest(home, flag, VSNORMAL, 1, NULL);
const char *home;
home = lookupvar("HOME");
if (home != NULL)
homelen = strlen(home);
if (home != NULL &&
strcmp(home, "/") != 0 &&
strncmp(pwd, home, homelen) == 0 &&
char *home, *ret = NULL;
if ((home = getenv("HOME")) == NULL || (l = strlen(home)) == 0)
if (strncmp(path, home, l) != 0)
if (home[l - 1] != '/' && path[l] != '/')
n += freemen(home);
n += trapped(home, -cturn);
home = 25;
home = 0;
for (pos = bar; pos != home; pos += cturn) {
if (mm->g[mvnum] * cturn >= home) {
mm->g[mvnum] = home;
for (i = bar + cturn; i != home; i += cturn)
frp = freemen(home) + trapped(home, -cturn);
for (em = bar; em != home; em += cturn)
em = abs(home - em);
barmen = abs(board[home]);
n = barmen - abs(board[home]);
if ((mm->p[i] += cturn) == home) {
if (mm->g[i] * cturn > home) {
mm->g[i] = home;
extern int home; /* position of home for current player */
int home;
for (i = home - 6 * cturn; i != home; i += cturn)
return (abs(home - i));
if (mm->g[i] != home) {
if (abs(mm->g[i] - home) < 7 && abs(mm->p[i] - home) > 6) {
board[home] += cturn;
if (mm->g[i] != home && board[mm->g[i]] * cturn < -1)
if (mm->g[i] == home && *offptr < 0)
if (mm->g[i] != home) {
board[home] -= cturn;
if (abs(home - mm->g[i]) < 7 && abs(home - mm->p[i]) > 6) {
home = bar;
mm->g[mvl] = home;
home = 0;
char *home;
home = getenv("HOME");
if (home != NULL) {
tmpl = strlen(home);
memcpy(newname, home, tmpl);
void home(void);
home();
home();
home();
home();
home();
home();
home();
home();
home();
const char *home;
if ((home = getenv("HOME")) == NULL)
home = "";
snprintf(nm, sizeof nm, fnms[fn], home);
void home(void);
home = getenv("HOME");
if (home == NULL || *home == '\0')
ret = snprintf(scorepath, sizeof(scorepath), "%s/%s", home, ".tetris.scores");
errc(1, ENAMETOOLONG, "%s/%s", home, ".tetris.scores");
const char *mstr, *human, *home;
extern char *home;
if ((home = getcwd(NULL, 0)) == NULL)
char *home;
snprintf(fullpath, sizeof(fullpath), "%s/%s", home,
static bool cd_home(const char *home);
cd_home(const char *home)
if (home == NULL) {
home = getenv("HOME");
if (home == NULL || *home == '\0') {
snprintf(path, sizeof(path), "%s/%s", home, calendarHome);
static char home[15];
(void) strcpy(home, tgoto(tc_cursor_motion, 0, 0));
putcap(home);
const char *home;
if ((home = getenv("HOME")) == NULL)
home = ".";
home, runcom);
goto home;
home:
const char *username, *home, *passwd_1, *passwd_2, *gecos;
home = dfui_dataset_get_value(new_ds, "home");
!assert_clean(a->c, _("Home Directory"), home, FILENAME_NOT_ALLOWED) ||
strlen(home) == 0 ? "" : "-d ", home,
(strlen(home) == 0 || !is_dir("%s", home)) ?
char *home; /* Where to create home directory */
config.home = (q == NULL || !boolean_val(q, 1))
val = config.home;
cnf->home = arg->val;
int l = strlen(cnf->home);
if (l > 1 && cnf->home[l-1] == '/') /* Shave off any trailing path delimiter */
cnf->home[--l] = '\0';
if (l < 2 || *cnf->home != '/') /* Check for absolute path name */
errx(EX_DATAERR, "invalid base directory for home '%s'", cnf->home);
if (stat(cnf->home, &st) == -1) {
if (strchr(cnf->home+1, '/') == NULL) {
strncat(dbuf, cnf->home, MAXPATHLEN-5);
symlink(dbuf+1, cnf->home);
strlcpy(dbuf, cnf->home, sizeof(dbuf));
errx(EX_OSFILE, "root home `%s' is not a directory", cnf->home);
char home[MAXPATHLEN];
strlcpy(home, pwd->pw_dir, sizeof(home));
if (getarg(args, 'r') != NULL && *home == '/' && getpwuid(uid) == NULL) {
if (stat(home, &st) != -1) {
rm_r(home, uid);
a_name->val, (long) uid, home,
stat(home, &st) == -1 ? "" : "not completely ");
static char home[128];
if (cnf->home == NULL || *cnf->home == '\0')
sprintf(home, "%s/%s", cnf->home, user);
return home;