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

/solaris-x11-s11/open-src/lib/DPS/sun-src/libpsres/
H A DPSres.c376 int buflen = MAXLEN, typelen = 0, len; local
393 if (typelen + len + 1 > buflen) {
396 (void) memcpy((MT) types, (MT) typebuf, (MST) typelen);
401 if (precontinued) typelen--; /* Write over previous \0 */
403 (void) strncpy(&types[typelen], inBuf, len+1);
404 typelen += len+1;
412 dir->typeNameBuffer = (char *) MALLOC(typelen);
413 (void) memcpy((MT) dir->typeNameBuffer, (MT) types, (MST) typelen);

Completed in 26 milliseconds