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

/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgtrans.c731 * This function concatenates append to the text described in the buf_ctrl
737 cat_and_count(struct dm_buf *buf_ctrl, char *append) argument
741 while ((buf_ctrl->offset + (int)strlen(append))
742 >= buf_ctrl->allocation) {
744 if ((buf_ctrl->text_buffer =
745 (char *)realloc(buf_ctrl->text_buffer,
746 buf_ctrl->allocation + BLK_SIZE)) == NULL) {
749 free(buf_ctrl->text_buffer);
754 (void) memset(buf_ctrl->text_buffer +
755 buf_ctrl
[all...]

Completed in 45 milliseconds