a0DisposeBuffer()

Deletes a buffer.


Syntax

a0tError a0DisposeBuffer(
a0tBuffer *buffer );

Arguments

Namerd/wrDescription
buffer write Descriptor of the buffer to delete.

Description

This function deletes a buffer buffer previously created by a call to a0NewBuffer(). The buffer automatically allocated at the creation of the thread of a Remote Thread Creation call or at the launch of a Remote Request must not be disposed with a call to this function, because it is disposed automatically at the thread termination.


Return Values

If an error condition occurs, it returns the error code, otherwise it returns A0ErrOk. Possible values are as follows:
Error CodeDescription
A0Err...Some error occurred.
A0ErrOkSuccessful completion.

See Also

a0NewBuffer()