Searched refs:tmppath (Results 1 - 8 of 8) sorted by relevance
/freebsd-current/lib/libutil/ |
H A D | getlocalbase.c | 56 char *tmppath; local 63 tmppath = getenv("LOCALBASE"); 64 if (tmppath != NULL && tmppath[0] != '\0') { 65 localbase = tmppath;
|
/freebsd-current/sbin/kldload/ |
H A D | kldload.c | 51 char *path, *tmppath, *element; local 82 tmppath = path; 84 while ((element = strsep(&tmppath, ";")) != NULL) {
|
/freebsd-current/usr.bin/fetch/ |
H A D | fetch.c | 436 char *tmppath; local 442 tmppath = NULL; 724 if(tmppath != NULL) 725 free(tmppath); 726 asprintf(&tmppath, "%.*s.fetch.XXXXXX.%s", 728 if (tmppath != NULL) { 729 if (mkstemps(tmppath, strlen(slash) + 1) == -1) { 733 of = fopen(tmppath, "w"); 734 chown(tmppath, sb.st_uid, sb.st_gid); 735 chmod(tmppath, s [all...] |
/freebsd-current/contrib/file/src/ |
H A D | magic.c | 91 char *tmppath; local 96 if (vasprintf(&tmppath, fmt, ap) < 0) { 102 if (access(tmppath, R_OK) == -1) 106 *hmagicpath = tmppath; 110 if (asprintf(&newpath, "%s%c%s", *hmagicpath, PATHSEP, tmppath) < 0) 114 free(tmppath); 118 free(tmppath);
|
/freebsd-current/sys/dev/smartpqi/ |
H A D | smartpqi_cam.c | 142 struct cam_path *tmppath = NULL; local 149 if (xpt_create_path(&tmppath, NULL, 155 xpt_async(AC_LOST_DEVICE, tmppath, NULL); 156 xpt_free_path(tmppath); 1372 struct cam_path *tmppath = NULL; local 1377 if (xpt_create_path(&tmppath, NULL, 1384 xpt_async(AC_INQ_CHANGED, tmppath, NULL); 1385 xpt_free_path(tmppath);
|
/freebsd-current/contrib/libpcap/ |
H A D | pcap.c | 2134 char *scheme, *tmpuserinfo, *tmphost, *tmpport, *tmppath; local 2148 &tmpport, &tmppath, errbuf) == -1) { 2159 if (name && tmppath) 2160 pcap_strlcpy(name, tmppath, PCAP_BUF_SIZE); 2163 free(tmppath); 2194 if (name && tmppath) 2195 pcap_strlcpy(name, tmppath, PCAP_BUF_SIZE); 2198 free(tmppath); 2210 if (name && tmppath) 2211 pcap_strlcpy(name, tmppath, PCAP_BUF_SIZ [all...] |
/freebsd-current/sys/dev/mpt/ |
H A D | mpt_cam.c | 2424 struct cam_path *tmppath; local 2443 if (xpt_create_path(&tmppath, NULL, cam_sim_path(sim), 2450 xpt_setup_ccb(&crs.ccb_h, tmppath, 5); 2459 xpt_free_path(tmppath); 2471 struct cam_path *tmppath; local 2499 if (xpt_create_path(&tmppath, NULL, cam_sim_path(sim), 2506 xpt_async(AC_LOST_DEVICE, tmppath, NULL); 2507 xpt_free_path(tmppath);
|
/freebsd-current/sys/kern/ |
H A D | vfs_syscalls.c | 1754 char *tmppath; local 1761 tmppath = uma_zalloc(namei_zone, M_WAITOK); 1762 if ((error = copyinstr(path1, tmppath, MAXPATHLEN, NULL)) != 0) 1764 syspath = tmppath; 1812 uma_zfree(namei_zone, tmppath);
|
Completed in 115 milliseconds