Searched refs:dirfile (Results 1 – 6 of 6) sorted by relevance
| /freebsd/sbin/restore/ |
| H A D | dirs.c | 104 static char dirfile[MAXPATHLEN] = "#"; /* No file */ variable 137 (void) snprintf(dirfile, sizeof(dirfile), "%s/rstdir%jd", tmpdir, in extractdirs() 140 (void) strcat(dirfile, "-XXXXXX"); in extractdirs() 141 fd = mkstemp(dirfile); in extractdirs() 143 fd = open(dirfile, O_RDWR|O_CREAT|O_EXCL, 0666); in extractdirs() 147 warn("%s: cannot create directory database", dirfile); in extractdirs() 182 fail_dirtmp(dirfile); in extractdirs() 183 dirp = opendirfile(dirfile); in extractdirs() 391 fail_dirtmp(dirfile); in putent() 407 fail_dirtmp(dirfile); in flushent() [all …]
|
| /freebsd/contrib/less/ |
| H A D | cmdbuf.c | 1486 name = dirfile(lgetenv("XDG_STATE_HOME"), &LESSHISTFILE[1], must_exist); in histfile_find() 1489 char *dir = dirfile(home, ".local/state", TRUE); in histfile_find() 1492 name = dirfile(dir, &LESSHISTFILE[1], must_exist); in histfile_find() 1497 name = dirfile(lgetenv("XDG_DATA_HOME"), &LESSHISTFILE[1], must_exist); 1499 name = dirfile(home, LESSHISTFILE, must_exist); in histfile_name()
|
| H A D | filename.c | 275 public char * dirfile(constant char *dirname, constant char *filename, lbool must_exist) 317 pathname = dirfile(lgetenv("HOME"), filename, TRUE); in xcpy_char() 322 pathname = dirfile(lgetenv("INIT"), filename, TRUE); in xcpy_filename() 240 public char * dirfile(constant char *dirname, constant char *filename, int must_exist) dirfile() function
|
| H A D | decode.c | 1465 filename = dirfile(xdg, &def_filename[1], TRUE); in editchar() 1471 char *cfg_dir = dirfile(home, ".config", FALSE); in editchar() 1472 filename = dirfile(cfg_dir, &def_filename[1], TRUE); in editchar()
|
| H A D | funcs.h | 171 public char * dirfile(constant char *dirname, constant char *filename, lbool must_exist);
|
| /freebsd/contrib/sendmail/src/ |
| H A D | map.c | 1691 char dirfile[MAXPATHLEN]; local 1703 if (sm_strlcpyn(dirfile, sizeof(dirfile), 2, 1704 map->map_file, ".dir") >= sizeof(dirfile) || 1731 ret = safefile(dirfile, RunAsUid, RunAsGid, RunAsUserName, 1787 dirfd = safeopen(dirfile, mode, DBMMODE, sff); 1870 if (filechanged(dirfile, dfd, &std) ||
|