Searched defs:mbPath (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | mkdirp.c | 145 char *mbPath; /* The copy fo the path to be returned */ local 158 if ((mbPath = strdup(str)) == NULL) { 167 mbPathlen = strlen(mbPath); 170 free(mbPath); 174 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) { 175 free(mbPath); 204 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) { 205 free(mbPath); 211 return (mbPath);
|
/illumos-gate/usr/src/cmd/mkdir/ |
H A D | mkdir.c | 324 simplify(char *mbPath) argument 336 if (!mbPath) 337 return (mbPath); 344 mbPathlen = strlen(mbPath); 351 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) { 407 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) { 413 return (mbPath);
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/ |
H A D | main.c | 3138 char *mbPath; /* copy for the path to be returned */ local 3161 mbPath = (char *)calloc(1, vres+2); 3162 assert(mbPath != NULL); 3167 vres = vsnprintf(mbPath, vres+1, a_format, ap); 3172 echoDebug(DBG_TEST_PATH, mbPath, (unsigned long)a_tt); 3196 if (lstat(mbPath, &statbuf) != 0) { 3197 echoDebug(DBG_CANNOT_LSTAT_PATH, mbPath, 3199 free(mbPath); 3209 echoDebug(DBG_IS_NOT_A_SYMLINK, mbPath); 3210 free(mbPath); [all...] |
Completed in 93 milliseconds