TutBufGrow grow the allocated size of the buffer
buf
buffer to grow
new_size
new size of the buffer
TRUE
if successful, FALSE
otherwise.
None
TutBufGrow attempts to resize a buffer to allow it to hold at least new_size
bytes. The buffer may grow larger than the requested size. The buffer may be moved, and the existing data is copied, if necessary. This function is called automatically by any operation that needs to increase the size of the buffer. If this function is called on a static buffer, it fails.
None
This example grows a buffer to 256 bytes:
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |