Searched defs:curpath (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_finddev.c52 int curpath; member in struct:finddevhdl
119 handle->curpath = 0;
194 handle->curpath = 0;
338 if (handle->curpath < handle->npaths) {
339 path = handle->paths[handle->curpath];
340 handle->curpath++;
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dstabs.c185 char curpath[MAXPATHLEN]; local
262 strcpy(curpath, str);
263 curfile = basename(curpath);
/illumos-gate/usr/src/tools/protocmp/
H A Dprotodir.c49 static char curpath[MAXPATHLEN]; local
53 return (strcpy(curpath, link));
55 (void) strcpy(curpath, source);
56 p = rindex(curpath, '/');
62 if ((p = rindex(curpath, '/')) != NULL)
65 curpath[0] = '\0';
68 if (curpath[0])
69 (void) strcat(curpath, "/");
71 (void) strncat(curpath, l_pos,
74 (void) strcat(curpath, l_po
[all...]
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c985 char *curpath = NULL; local
1059 if ((curpath = calloc(1, MAXPATHLEN)) == NULL) {
1064 curpath = find_link(thisnode);
1065 if (curpath == NULL) {
1078 (void) nvlist_add_string(devnvl, NVL_MPXPATH, curpath);
1080 (void) nvlist_add_string(devnvl, NVL_PATH, curpath);
1081 path = curpath;
1099 if (nvlist_add_string(mapnvl, curpath, strdevid) != 0) {
1103 curpath, strdevid, strerror(errno));
1106 logmsg(MSG_INFO, "popcheck_devnvl: added curpath
[all...]
/illumos-gate/usr/src/cmd/find/
H A Dfind.c347 char *curpath; local
350 curpath = *(argv++);
360 if (stat(curpath, &sb) < 0 && errno == ENOENT)
390 if (nftw(curpath, execute, 1000, walkflags)) {
393 cmdname, curpath, strerror(errno));

Completed in 83 milliseconds