a0Flush()

Performs a flush of a pipe.


Syntax

a0tError a0Flush(
a0tPipe *pipe );

Arguments

Namerd/wrDescription
pipe read Pipe to flush.

Description

This function performs a blocking flush of the pipe. It waits that all pending requests posted before it be performed. If the pipe is A0OutputPipe, the buffer is sent even if it's not yet full.


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

a0IFPut() a0IFGet() a0IFPut() a0IFGet() a0NewPipe() a0DisposePipe()