Home
last modified time | relevance | path

Searched refs:tmp_dir (Results 1 – 6 of 6) sorted by relevance

/freebsd/usr.sbin/apmd/contrib/
H A Dpccardq.c18 const char *tmp_dir = "/tmp"; variable
36 tmp_dir = getenv("TMPDIR") ? getenv("TMPDIR") : tmp_dir; in proc_arg()
84 "%s/%s%ld%ld", tmp_dir, prog, (long) getpid(), (long) time(0)); in connect_to_pccardd()
/freebsd/contrib/pkgconf/tests/
H A Dtest-runner.c1199 char *tmp_dir = NULL; in run_test_case() local
1211 tmp_dir = pkgconf_buffer_freeze(&tmp_buf); in run_test_case()
1213 if (mkdtemp(tmp_dir) == NULL) in run_test_case()
1216 free(tmp_dir); in run_test_case()
1220 if (chdir(tmp_dir) != 0) in run_test_case()
1222 fprintf(stderr, "FAIL: chdir('%s') failed: %s\n", tmp_dir, strerror(errno)); in run_test_case()
1223 rmdir(tmp_dir); in run_test_case()
1224 free(tmp_dir); in run_test_case()
1228 if (!run_setup(testcase, tmp_dir)) in run_test_case()
1232 rmdir_recursive(tmp_dir); in run_test_case()
[all …]
/freebsd/tools/tools/syscall_timing/
H A Dsyscall_timing.c1022 char *tmp_dir, *tmp_path; in main() local
1091 tmp_dir = strdup("/tmp/syscall_timing.XXXXXXXX"); in main()
1092 if (tmp_dir == NULL) in main()
1094 tmp_dir = mkdtemp(tmp_dir); in main()
1095 if (tmp_dir == NULL) in main()
1097 rv = asprintf(&tmp_path, "%s/testfile", tmp_dir); in main()
1161 error = rmdir(tmp_dir); in main()
1163 warn("cannot rmdir %s", tmp_dir); in main()
/freebsd/contrib/ntp/sntp/libopts/
H A Dpgusage.c46 tmpdir = tmp_dir; in open_tmp_usage()
H A Dao-strs.h236 #define tmp_dir (ao_strs_strtable+885) macro
/freebsd/contrib/ntp/sntp/ag-tpl/0-old/
H A Dcmd-doc.tlib161 cd $tmp_dir