TutBufReset reset the buffer contents
buf
T_BUF object to reset
ptr
new position
TRUE
if successful, FALSE
otherwise.
None
TutBufReset moves the "write pointer" to the location given by ptr
. If ptr
is NULL
, then the buffer is reset to empty. This function fails if ptr
is outside the bounds of the buffer.
None
This example resets a buffer to the beginning:
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |