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

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

Completed in 90 milliseconds