Searched refs:mbPath (Results 1 - 3 of 3) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/libgen/common/
H A Dmkdirp.c145 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);
/opensolaris-onvv-gate/usr/src/cmd/mkdir/
H A Dmkdir.c324 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);
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c3140 char *mbPath; /* copy for the path to be returned */ local
3163 mbPath = (char *)calloc(1, vres+2);
3164 assert(mbPath != NULL);
3169 vres = vsnprintf(mbPath, vres+1, a_format, ap);
3174 echoDebug(DBG_TEST_PATH, mbPath, (unsigned long)a_tt);
3198 if (lstat(mbPath, &statbuf) != 0) {
3199 echoDebug(DBG_CANNOT_LSTAT_PATH, mbPath,
3201 free(mbPath);
3211 echoDebug(DBG_IS_NOT_A_SYMLINK, mbPath);
3212 free(mbPath);
[all...]

Completed in 110 milliseconds