Home
last modified time | relevance | path

Searched refs:tmp_path (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dt_fileactions.c400 static const char tmp_path[] = "/tmp"; in t_spawn_chdir_impl() local
409 tmp_path) == 0); in t_spawn_chdir_impl()
411 tmpdir_fd = open(tmp_path, O_DIRECTORY | O_RDONLY); in t_spawn_chdir_impl()
429 ATF_REQUIRE(ss == strlen(tmp_path) + 1); in t_spawn_chdir_impl()
430 ATF_REQUIRE(strncmp(read_pwd, tmp_path, strlen(tmp_path)) == 0); in t_spawn_chdir_impl()
/freebsd/tools/tools/syscall_timing/
H A Dsyscall_timing.c1022 char *tmp_dir, *tmp_path; in main() local
1032 tmp_path = NULL; in main()
1097 rv = asprintf(&tmp_path, "%s/testfile", tmp_dir); in main()
1118 if (tmp_path != NULL) { in main()
1119 fd = open(tmp_path, O_WRONLY | O_CREAT, 0700); in main()
1121 err(1, "cannot open %s", tmp_path); in main()
1128 path = tmp_path; in main()
1157 if (tmp_path != NULL) { in main()
1158 error = unlink(tmp_path); in main()
1160 warn("cannot unlink %s", tmp_path); in main()
/freebsd/crypto/heimdal/lib/roken/
H A Dsocket_wrapper.c224 char *tmp_path; member
1463 si->tmp_path = strdup(un_addr.sun_path); in swrap_auto_bind()
1829 if (si->tmp_path) { in swrap_close()
1830 unlink(si->tmp_path); in swrap_close()
1831 free(si->tmp_path); in swrap_close()
1854 if (si_oldd->tmp_path) in dup_internal()
1855 si_newd->tmp_path = strdup(si_oldd->tmp_path); in dup_internal()
/freebsd/contrib/wpa/src/utils/
H A Dwpa_debug.c151 char *tmp2, *tmp_path, *fstype; in wpa_debug_open_linux_tracing() local
154 tmp_path = strtok_r(NULL, " ", &tmp2); in wpa_debug_open_linux_tracing()
157 path = tmp_path; in wpa_debug_open_linux_tracing()