Home
last modified time | relevance | path

Searched refs:bytesneeded (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c2535 int offset, bytesneeded, bytesleft, error_num; in rcmscript_snprintf() local
2543 bytesneeded = SPRINTF_MIN_CHUNK_LEN; in rcmscript_snprintf()
2548 if (bytesneeded > bytesleft) { in rcmscript_snprintf()
2549 *buflen += RSCR_ROUNDUP(bytesneeded - bytesleft, in rcmscript_snprintf()
2564 bytesneeded = vsnprintf(*curptr, bytesleft, format, ap); in rcmscript_snprintf()
2567 if (bytesneeded < 0) { in rcmscript_snprintf()
2575 } else if (bytesneeded < bytesleft) { in rcmscript_snprintf()
2577 *curptr += bytesneeded; in rcmscript_snprintf()
2581 bytesneeded++; /* to account for storage for '\0' */ in rcmscript_snprintf()