Clears a buffer to reuse.
a0tError a0ClearBuffer( | | | |
| a0tBuffer | *buffer );
| |
Name | rd/wr | Description |
buffer | write | Descriptor of the buffer to clean. |
This function cleans buffer, after being sent, so the program can reuse it. After sending the data to a remote node, the buffer still contains everything in the state it was, so the buffer can be sent again, containing the same data, to other node. A buffer must be cleared before new data is packed into it. After creating or clearing a buffer, it is said to be empty.
After calling this function, the type and the size of the buffer do not change.
Error Code | Description |
A0Err...Some error occurred. | |
A0ErrOkSuccessful completion. | |
a0Pack() a0SendBuffer() a0StartRemoteThread() a0StartRemoteUrgent() a0DisposeBuffer() a0NewBuffer()