Home
last modified time | relevance | path

Searched refs:dirfile (Results 1 – 5 of 5) sorted by relevance

/dragonfly/sbin/restore/
HDdirs.c101 static char dirfile[MAXPATHLEN] = "#"; /* No file */ variable
144 sprintf(dirfile, "%s/rstdir%ld", tmpdir, (long)dumpdate); in extractdirs()
146 strcat(dirfile, "-XXXXXX"); in extractdirs()
147 fd = mkstemp(dirfile); in extractdirs()
149 fd = open(dirfile, O_RDWR|O_CREAT|O_EXCL, 0666); in extractdirs()
153 warn("%s - cannot create directory temporary\nfopen", dirfile); in extractdirs()
181 dirpg = opendirfile(dirfile); in extractdirs()
516 dirpl = opendirfile(dirfile); in rst_opendir()
742 if (dirfile[0] != '#') in done()
743 unlink(dirfile); in done()
/dragonfly/contrib/less/
HDcmdbuf.c1373 name = dirfile(lgetenv("XDG_STATE_HOME"), &LESSHISTFILE[1], must_exist); in histfile_find()
1376 char *dir = dirfile(home, ".local/state", 1); in histfile_find()
1379 name = dirfile(dir, &LESSHISTFILE[1], must_exist); in histfile_find()
1384 name = dirfile(lgetenv("XDG_DATA_HOME"), &LESSHISTFILE[1], must_exist); in histfile_find()
1386 name = dirfile(home, LESSHISTFILE, must_exist); in histfile_find()
HDfilename.c240 public char * dirfile(constant char *dirname, constant char *filename, int must_exist) in dirfile() function
282 pathname = dirfile(lgetenv("HOME"), filename, 1); in homefile()
287 pathname = dirfile(lgetenv("INIT"), filename, 1); in homefile()
HDdecode.c1051 filename = dirfile(xdg, &def_filename[1], 1); in add_hometable()
1057 char *cfg_dir = dirfile(home, ".config", 0); in add_hometable()
1058 filename = dirfile(cfg_dir, &def_filename[1], 1); in add_hometable()
HDfuncs.h155 public char * dirfile(constant char *dirname, constant char *filename, int must_exist);