Searched defs:path_copy (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 1053 char path_copy[PATH_MAX]; local 1067 (void) strlcpy(path_copy, path, PATH_MAX); 1068 for (cp = dirname(path_copy); strlen(cp) > 1; cp = dirname(cp)) {
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_ncp.c | 214 char path_copy[MAXPATHLEN]; local 220 (void) strlcpy(path_copy, path, MAXPATHLEN); 225 if ((filename = basename(path_copy)) == NULL) {
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 3245 char *path_copy; local 3251 if ((path_copy = strdup(path)) != NULL) { 3252 rc = create_parents(hdl, path_copy, prefix); 3253 free(path_copy); 3255 if (path_copy == NULL || rc != 0)
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 867 char path_copy[MAXPATHLEN]; /* copy of original path */ local 897 (void) snprintf(path_copy, sizeof (path_copy), "%s%s", 899 res = resolvepath(path_copy, rpath, sizeof (rpath)); 902 zperror(path_copy, B_FALSE); 908 "zonepath", path_copy); local 913 (void) snprintf(path_copy, sizeof (path_copy), "%s/", path); 915 if (strncmp(path_copy, rpath_copy, 916 min(strlen(path_copy), strle [all...] |
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 8132 char *path_copy; local 8201 path_copy = e_strdup(E_NORMAL, path); 8202 if (path_copy == NULL) { 8207 if (rmdir(basename(path_copy)) == -1) { 8208 free(path_copy); 8213 free(path_copy);
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 5995 char *path_copy = NULL; local 6007 if ((path_copy = strdup(path)) == NULL) { 6012 for (ptr = strtok(path_copy, sep); 6016 free(path_copy); 6020 free(path_copy);
|
Completed in 156 milliseconds